/**
 * 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:not(.ui) {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 24px;
	padding: 24px;
}

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

.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-editorial-sidebar {
	position: static;
	align-self: start;
}

.sjc-editorial-tag:not(.ui) {
	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: clamp(28px, 3.2vw, 36px);
	line-height: 1.2;
	letter-spacing: 0;
	margin: 0;
}

.sjc-editorial-short-description {
	margin: 14px 0 0;
	color: var(--sjc-muted);
	font-size: 15px;
	line-height: 1.55;
}

.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:not(.ui) {
	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.ui.table {
	margin: 16px 0;
	width: 100%;
}

.sjc-editorial-facts.ui.table th[scope="row"] {
	font-weight: 600;
	color: var(--sjc-color-muted);
	width: 40%;
	padding-left: 0;
}

.sjc-editorial-facts.ui.table td {
	color: var(--sjc-color-text);
	padding-right: 0;
}

.sjc-editorial-actions {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.sjc-editorial-qty.ui.action.input {
	display: inline-flex;
	max-width: 140px;
	min-height: 44px;
	margin-bottom: 12px;
}

.sjc-editorial-qty.ui.action.input > .ui.button:first-child {
	border-radius: .28571429rem 0 0 .28571429rem;
}

.sjc-editorial-qty.ui.action.input .ui.button {
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sjc-editorial-qty.ui.action.input input[type="number"] {
	text-align: center;
	min-height: 44px;
	width: 52px;
	min-width: 0;
	padding-left: 4px;
	padding-right: 4px;
	border-radius: 0;
	-moz-appearance: textfield;
}

.sjc-editorial-qty.ui.action.input input[type="number"]::-webkit-outer-spin-button,
.sjc-editorial-qty.ui.action.input input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

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

:is(.sjc-storefront-home, .sjc-compact-catalog, .sjc-product-showcase, .sjc-editorial) .ui.primary.button {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

:is(.sjc-storefront-home, .sjc-compact-catalog, .sjc-product-showcase, .sjc-editorial) .ui.primary.button:hover {
	background: var(--sjc-color-primary);
	opacity: var(--sjc-hover-opacity, 0.9);
	color: var(--sjc-color-primary-text);
}

:is(.sjc-storefront-home, .sjc-compact-catalog, .sjc-product-showcase, .sjc-editorial) .ui.primary.button:focus {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.sjc-editorial-btn-buy.ui.button.primary,
.sjc-editorial-btn-bag.ui.button.basic {
	min-height: 44px;
	margin: 0;
}

.sjc-editorial-btn-buy:not(.ui) {
	background: var(--sjc-dark, #111827);
	border: 1.5px solid var(--sjc-dark, #111827);
	color: #fff;
}

.sjc-editorial-btn-buy:not(.ui):hover {
	opacity: 0.92;
}

.sjc-editorial-btn-bag:not(.ui) {
	background: transparent;
	border: 1.5px solid var(--sjc-dark, #111827);
	color: var(--sjc-dark, #111827);
}

.sjc-editorial-btn-bag:not(.ui):hover {
	background: var(--sjc-bg-soft, #f4f4f5);
}

.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-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:not(.ui) {
	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:not(.ui).show {
	opacity: 1;
	transform: translateY(0);
}

.sjc-editorial-toast:not(.ui).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 button:hover:not(:disabled):not(.is-disabled),
.sjc-buy-now-qty button:active:not(:disabled):not(.is-disabled),
.sjc-buy-now-qty button:focus-visible:not(:disabled):not(.is-disabled) {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.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-secondary:hover:not(:disabled):not(.is-disabled),
.sjc-buy-now-secondary:active:not(:disabled):not(.is-disabled) {
	opacity: var(--sjc-hover-opacity, 0.9);
}

.sjc-buy-now-submit:hover:not(:disabled):not(.is-disabled),
.sjc-buy-now-submit:active:not(:disabled):not(.is-disabled) {
	opacity: var(--sjc-hover-opacity, 0.9);
}

.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:not(.sjc-product-section) .sjc-you-may-like-grid {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 10px;
}

.sjc-you-may-like-item:not(.ui) {
	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:not(.ui):hover {
	border-color: #d8d8d8;
}

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

.sjc-you-may-like-item:not(.ui) .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-item:not(.ui) .sjc-you-may-like-title {
	color: #202124;
	font-weight: 700;
	line-height: 1.35;
}

.sjc-you-may-like-item:not(.ui) .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:not(.ui),
.sjc-editorial-qty:not(.ui),
.sjc-editorial-btn:not(.ui),
.sjc-editorial-accordion-header,
.sjc-you-may-like-item:not(.ui),
.sjc-you-may-like-item:not(.ui) .sjc-you-may-like-image {
	border-radius: var(--sjc-radius-control, 8px);
}

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

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

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

.sjc-editorial-btn:not(.ui) {
	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:not(.ui),
.sjc-editorial-btn-buy:not(.ui) {
	background: var(--sjc-color-primary, #111);
	color: var(--sjc-color-primary-text, #fff);
}

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

.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:not(.ui) {
	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:not(.ui).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:not(.ui) {
		grid-template-columns: 1fr;
		padding: 0;
		gap: 0;
	}

	.sjc-editorial-wrapper:not(.ui) .sjc-editorial-sidebar {
		position: static;
		padding: 24px 24px 100px 24px;
	}

	.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:not(.ui) {
		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 button:hover:not(:disabled),
.sjc-catalog-toolbar button:active:not(:disabled) {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	opacity: var(--sjc-hover-opacity, 0.9);
}

.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 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.sjc-catalog-cart-toggle .sjc-catalog-cart-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.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;
	transition: transform var(--sjc-transition), box-shadow var(--sjc-transition), border-color var(--sjc-transition);
}

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

.ui.card.sjc-product-card {
	width: 100%;
	max-width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sjc-product-card:not(.ui):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;
	width: 100%;
}

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

.sjc-featured-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	margin: 0;
}

.sjc-featured-badge:not(.ui) {
	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-featured-badge.ui.label {
	background: var(--sjc-color-accent);
	color: #fff;
}

.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-card:not(.ui) .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;
	color: var(--sjc-color-text);
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ui.card.sjc-product-card > .content > a.header {
	display: -webkit-box;
	min-height: 2.6em;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ui.card.sjc-product-card > .image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ui.card.sjc-product-card > .image > img {
	height: 100%;
	object-fit: cover;
}

.ui.card.sjc-product-card .sjc-price-container {
	flex-wrap: wrap;
	gap: 4px 8px;
}

.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 .ui.card.sjc-product-card {
	display: grid;
	grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) minmax(140px, 180px);
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

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

.sjc-product-showcase.is-list .ui.card.sjc-product-card > .extra.content {
	border-top: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.sjc-product-showcase.is-list .ui.card.sjc-product-card > .extra.content.sjc-card-bottom-row {
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 8px;
}

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

.sjc-product-showcase.is-list .sjc-product-card:not(.ui) .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-card:not(.ui) .sjc-product-image-container {
	aspect-ratio: 4 / 3;
	height: 100%;
}

.sjc-product-showcase.is-list .sjc-product-card:not(.ui) .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;
	width: auto;
	margin: 0;
}

.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:not(.extra) {
	padding: 0 18px 18px;
}

.ui.card > .extra.content.sjc-quick-add-container {
	margin-top: auto;
}

.sjc-btn-add-cart:not(.ui),
.sjc-checkout-btn,
.sjc-pay-btn {
	width: 100%;
	min-height: 44px;
	border: 0;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	padding: 12px 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.ui.button {
	min-height: 44px;
}

.sjc-btn-add-cart:not(.ui):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;
}

/* Catalog Card: Icon-only cart button bottom row layout */
.sjc-product-card:not(.ui).is-cart-icon-only {
	display: flex;
	flex-direction: column;
}

.sjc-product-card:not(.ui).is-cart-icon-only .sjc-product-link-wrapper {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.sjc-product-card:not(.ui).is-cart-icon-only .sjc-product-info {
	flex: 1 1 auto;
	padding-bottom: 8px;
}

.sjc-product-card:not(.ui).is-cart-icon-only .sjc-product-info h3 {
	margin-bottom: 0;
}

.ui.card > .extra.content.sjc-card-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.ui.card > .extra.content.sjc-card-bottom-row .sjc-card-price-link {
	display: block;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	flex: 1 1 auto;
}

.ui.card > .extra.content.sjc-card-bottom-row .sjc-card-price-link:hover .sjc-current-price {
	color: var(--sjc-color-accent);
}

.ui.card > .extra.content.sjc-card-bottom-row .sjc-quick-add-container {
	padding: 0;
	margin: 0;
	flex: 0 0 auto;
}

.sjc-product-card:not(.ui) .sjc-card-bottom-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 18px 18px;
	margin-top: auto;
}

.sjc-product-card:not(.ui) .sjc-card-bottom-row .sjc-card-price-link {
	display: block;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	flex: 1 1 auto;
}

.sjc-product-card:not(.ui) .sjc-card-bottom-row .sjc-card-price-link:hover .sjc-current-price {
	color: var(--sjc-color-accent);
}

.sjc-product-card:not(.ui) .sjc-card-bottom-row .sjc-price-container {
	margin: 0;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 6px;
}

.sjc-product-card:not(.ui) .sjc-card-bottom-row .sjc-quick-add-container {
	padding: 0;
	margin: 0;
	flex: 0 0 auto;
}

.sjc-btn-add-cart.is-icon-only {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	flex-shrink: 0;
	line-height: 1;
}

.sjc-btn-add-cart.is-icon-only .sjc-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	pointer-events: none;
}

.sjc-btn-add-cart.is-icon-only .sjc-btn-icon svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	display: block;
}

.sjc-btn-add-cart.is-icon-only:not(.ui):hover {
	opacity: var(--sjc-hover-opacity);
	transform: translateY(-1px);
}

.sjc-btn-add-cart.is-icon-only:focus-visible {
	outline: 2px solid var(--sjc-color-primary);
	outline-offset: 2px;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sjc-color-primary) 24%, transparent);
}

.sjc-btn-add-cart.is-icon-only:not(.ui).is-loading .sjc-btn-icon {
	animation: sjc-icon-spin 0.8s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
	.sjc-btn-add-cart.is-icon-only.is-loading .sjc-btn-icon {
		animation: none;
	}
}

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

.sjc-product-showcase.is-list .sjc-product-card:not(.ui).is-cart-icon-only .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-card:not(.ui).is-cart-icon-only .sjc-card-bottom-row {
	grid-column: 3;
	padding: 18px;
	margin: 0;
	justify-content: flex-end;
}

@media (max-width: 720px) {
	.sjc-product-showcase.is-list .ui.card.sjc-product-card {
		display: flex;
		flex-direction: column;
	}

	.sjc-product-showcase.is-list .ui.card.sjc-product-card > a.image.sjc-product-image-container {
		aspect-ratio: 1 / 1;
	}

	.sjc-product-showcase.is-list .ui.card.sjc-product-card > .extra.content {
		border-left: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.05);
	}

	.sjc-product-showcase.is-list .ui.card.sjc-product-card > .extra.content.sjc-card-bottom-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.sjc-product-showcase.is-list .sjc-product-card:not(.ui) {
		display: flex;
		flex-direction: column;
	}

	.sjc-product-showcase.is-list .sjc-product-card:not(.ui) .sjc-product-link-wrapper {
		display: grid;
		grid-template-columns: 1fr;
		grid-column: auto;
	}

	.sjc-product-showcase.is-list .sjc-product-card:not(.ui) .sjc-card-bottom-row {
		grid-column: auto;
		justify-content: space-between;
	}
}

.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);
}

/* Basic buttons use the brand colour for their focus ring, not the accent. */
.sejoli-commerce button:focus-visible,
.sjc-editorial button:focus-visible,
.sjc-checkout-offcanvas button:focus-visible,
.sjc-global-minicart-wrap button:focus-visible,
.sjc-commerce-thankyou button:focus-visible,
.sjc-buy-now-checkout button:focus-visible {
	outline: 2px solid var(--sjc-color-primary);
	outline-offset: 2px;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sjc-color-primary) 24%, transparent);
}

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

.sjc-toast:not(.ui) {
	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:not(.ui).show {
	transform: translateY(0);
	opacity: 1;
}

.sjc-toast:not(.ui).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,
.sjc-checkout-grid > main,
.sjc-checkout-grid > 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,
.sjc-cart-line-signup-fee {
	display: none;
	margin: -2px 0 8px;
	color: var(--sjc-color-success);
	font-size: 0.86rem;
	line-height: 1.35;
	font-weight: 600;
}

.sjc-cart-line-signup-fee {
	display: block;
	color: var(--sjc-ref-muted);
}

.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-btn:hover:not(:disabled),
.sjc-qty-btn:active:not(:disabled),
.sjc-qty-btn:focus-visible:not(:disabled) {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.sjc-qty-input,
.sjc-cart .sjc-qty-input,
body .sjc-qty-selector .sjc-qty-input,
body .sjc-qty-selector .sjc-qty-input:hover,
body .sjc-qty-selector .sjc-qty-input:focus,
body .sjc-qty-selector .sjc-qty-input:focus-visible,
body .sjc-qty-selector .sjc-qty-input:active {
	width: 46px;
	height: 36px;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	border-radius: 0 !important;
	text-align: center;
	font-weight: 800;
	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);
}

/* Ringkasan checkout: garis pembatas HANYA di toggle disclosure dan
   sebelum Total — baris item & komponen tanpa border-bottom agar tidak
   bertumpuk dengan garis toggle. */
.sjc-summary-card .sjc-summary-row,
.sjc-summary-card .sjc-summary-total {
	border-bottom: 0;
}
.sjc-summary-card .sjc-summary-total {
	border-top: 1px solid var(--sjc-ref-border, #e5e5e5);
	padding-top: 12px;
}

/* Toggle lipat rincian Subtotal+Diskon: indikator disclosure chevron
   standar (iOS/Fluent/Material) yang duduk DI ATAS satu garis hairline —
   chip menutup garis sehingga tidak ada dua garis bertumpuk. */
.sjc-summary-toggle {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 24px;
	margin: 6px 0 2px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.sjc-summary-toggle::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid var(--sjc-color-border, #e3eae5);
}
.sjc-summary-toggle svg {
	position: relative;
	width: 22px;
	height: 18px;
	padding: 3px 7px;
	background: var(--sjc-color-surface, #ffffff);
	border-radius: 999px;
	color: var(--sjc-muted, #767676);
	transition: transform .2s ease, color .15s ease;
	box-sizing: content-box;
}
.sjc-summary-toggle:hover svg,
.sjc-summary-toggle:focus-visible svg { color: var(--sjc-color-primary, #3eac4d); }
.sjc-summary-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sjc-summary-breakdown[hidden] { display: none; }

.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;
}

/* Perataan vertikal isi pill kupon (teks kode vs tombol x) */
button.sjc-coupon-pill > span:first-child {
	margin-bottom: -4px;
}
button.sjc-coupon-pill > .sjc-coupon-pill-remove {
	margin-top: -2px;
	margin-bottom: -1px;
}

/* Harga item ringkasan: harga coret (del) di atas, harga final di bawah */
.sjc-summary-item-price {
	display: flex;
	justify-content: start;
	align-items: end;
	flex-direction: column;
}
.sjc-summary-item-price del {
	font-size: smaller;
	color: gray;
}

.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:hover:not(:disabled),
.sejoli-commerce .sjc-inline-input .sjc-apply-coupon-btn:active:not(:disabled) {
	opacity: var(--sjc-hover-opacity, 0.9);
}

.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,
.sjc-checkout-grid > aside {
	position: -webkit-sticky;
	position: sticky;
	top: var(--sjc-checkout-sticky-offset, 24px);
	align-self: start;
	max-height: calc(100vh - var(--sjc-checkout-sticky-offset, 24px) - 24px);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

body.admin-bar {
	--sjc-checkout-sticky-offset: calc(var(--wp-admin--admin-bar--height, 32px) + 24px);
}

body.admin-bar .sjc-summary-sticky,
body.admin-bar .sjc-checkout-grid > aside {
	top: calc(var(--wp-admin--admin-bar--height, 32px) + 24px);
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px) - 48px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		--sjc-checkout-sticky-offset: calc(var(--wp-admin--admin-bar--height, 46px) + 24px);
	}

	body.admin-bar .sjc-summary-sticky,
	body.admin-bar .sjc-checkout-grid > aside {
		top: calc(var(--wp-admin--admin-bar--height, 46px) + 24px);
		max-height: calc(100vh - var(--wp-admin--admin-bar--height, 46px) - 48px);
	}
}

.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,
	.sjc-checkout-grid > aside {
		position: static;
		top: auto;
		max-height: none;
		overflow-y: visible;
	}

	.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:not(.sjc-product-section) .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;
	}
}

/* ============================================================
   Fases 3 & 4 — Compact Product Detail & Storefront Catalog
   ============================================================ */

/* Compact Product Gallery */
.sjc-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sjc-gallery-main {
	width: 100%;
}

.sjc-gallery-main-frame {
	width: 100%;
	max-height: 520px;
	aspect-ratio: 1 / 1;
	border-radius: 8px;
	overflow: hidden;
	background: var(--sjc-bg-soft, #f8f9fa);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sjc-gallery-main-image {
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: contain;
	display: block;
}

.sjc-gallery-placeholder {
	padding: 24px;
}

.sjc-gallery-thumbs {
	width: 100%;
	overflow-x: auto;
	padding: 2px 0 6px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.sjc-gallery-thumbs-track {
	display: flex;
	gap: 8px;
	align-items: center;
}

.sjc-gallery-thumb {
	width: 68px;
	height: 68px;
	flex: 0 0 68px;
	border-radius: 6px;
	overflow: hidden;
	border: 2px solid transparent;
	background: var(--sjc-bg-soft, #f4f4f5);
	cursor: pointer;
	padding: 0;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sjc-gallery-thumb:hover {
	border-color: var(--sjc-border, #d1d5db);
}

.sjc-gallery-thumb.is-active {
	border-color: var(--sjc-color-primary, #111827);
	box-shadow: 0 0 0 1px var(--sjc-color-primary, #111827);
}

.sjc-gallery-thumb:focus-visible {
	outline: 2px solid var(--sjc-color-primary, #111827);
	outline-offset: 2px;
}

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

/* Breadcrumb Navigation */
.sjc-editorial-breadcrumb.ui.container {
	padding-top: 16px;
	padding-bottom: 0;
}

.sjc-editorial-breadcrumb .ui.breadcrumb,
.sjc-compact-breadcrumb > .ui.breadcrumb {
	font-size: 13px;
}

.sjc-editorial-breadcrumb .ui.breadcrumb .active.section,
.sjc-compact-breadcrumb > .ui.breadcrumb .active.section {
	font-weight: 600;
	color: var(--sjc-color-text);
}

.sjc-editorial-wrapper.ui.container {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: 24px;
	padding-top: 24px;
	padding-bottom: 24px;
}

@media (max-width: 991px) {
	.sjc-editorial-wrapper.ui.container {
		grid-template-columns: 1fr;
	}
}

.sjc-editorial-title.ui.header {
	margin: 0 0 12px;
	overflow-wrap: anywhere;
	font-family: var(--sjc-font-heading);
	font-weight: var(--sjc-font-weight-heading);
	color: var(--sjc-color-text);
}

/* Rich Content below Hero */
.sjc-product-detail-body.ui.container {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-bottom: 48px;
}

.sjc-product-section {
	border-top: 1px solid var(--sjc-color-border, #e5e7eb);
	padding-top: 28px;
}

.sjc-section-title.ui.header {
	margin: 0 0 16px;
	font-family: var(--sjc-font-heading);
	font-weight: var(--sjc-font-weight-heading);
	color: var(--sjc-color-text);
}

.sjc-product-prose {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.7;
	color: #374151;
}

.sjc-product-prose p {
	margin: 0 0 1em;
}

.sjc-product-prose p:last-child {
	margin-bottom: 0;
}

.sjc-highlights-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 20px;
}

.sjc-highlight-card.ui.segment {
	margin: 0;
}

.sjc-highlight-card .ui.header {
	margin-top: 0;
	margin-bottom: 12px;
}

.sjc-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 760px;
}

details.sjc-faq-item.ui.segment {
	margin: 0;
	padding: 14px 18px;
}

/* Flex, not list-item: a min-height on a list-item leaves all the slack under the text. */
summary.sjc-faq-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
	font-weight: 600;
	min-height: 44px;
	line-height: 1.4;
	color: var(--sjc-color-text);
	list-style: none;
}

summary.sjc-faq-toggle::-webkit-details-marker {
	display: none;
}

summary.sjc-faq-toggle::after {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-right: 2px;
	border-right: 2px solid var(--sjc-color-muted);
	border-bottom: 2px solid var(--sjc-color-muted);
	transform: translateY(-2px) rotate(45deg);
	transition: transform var(--sjc-transition, 180ms ease);
}

details.sjc-faq-item[open] > summary.sjc-faq-toggle::after {
	transform: translateY(2px) rotate(-135deg);
}

.sjc-faq-answer {
	padding-top: 12px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--sjc-color-muted);
}

/* Related Products */
.sjc-you-may-like-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

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

.sjc-you-may-like-item.ui.card {
	width: 100%;
	max-width: 100%;
	margin: 0;
	text-decoration: none;
	color: inherit;
}

.sjc-you-may-like-item.ui.card .image.sjc-you-may-like-image {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--sjc-color-surface-soft);
}

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

.sjc-you-may-like-item.ui.card .content .sjc-you-may-like-title.header {
	display: block;
	font-weight: 700;
	color: var(--sjc-color-text);
	margin-bottom: 4px;
}

.sjc-you-may-like-item.ui.card .content .sjc-you-may-like-price.meta {
	display: block;
	color: var(--sjc-color-muted);
	font-size: 0.9em;
}

/* Mobile Floating CTA Safe Area & Offcanvas Collision Prevention */
body.sjc-offcanvas-open .sjc-editorial-floating-cta {
	display: none !important;
}

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

.sjc-editorial-floating-actions {
	display: flex;
	gap: 8px;
	align-items: center;
}

@media (max-width: 992px) {
	.sjc-editorial-floating-cta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: var(--sjc-layer-floating-action, 300);
		background: var(--sjc-color-surface, #fff);
		border-top: 1px solid var(--sjc-color-border, #e5e7eb);
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		box-shadow: var(--sjc-shadow-floating);
	}

	.sjc-editorial-floating-actions .ui.button {
		min-height: 44px;
		white-space: normal;
		margin: 0;
	}

	.sjc-editorial-floating-cta {
		flex-wrap: wrap;
		gap: 8px;
	}

	.sjc-editorial-floating-info {
		flex: 1 1 120px;
		min-width: 0;
	}

	.sjc-editorial-floating-title {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		text-transform: none;
	}

	.sjc-editorial-floating-actions {
		flex: 1 1 260px;
	}

	.sjc-editorial-floating-actions .ui.button {
		flex: 1;
		min-width: 0;
	}

	.sjc-editorial {
		padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px));
	}
}

/* Compact Storefront Catalog */
.sjc-compact-catalog {
	padding-bottom: 48px;
}

.sjc-compact-catalog > .ui.container {
	padding-top: 16px;
}

.sjc-compact-breadcrumb {
	padding: 0 0 12px;
}

.sjc-compact-catalog-head {
	margin-bottom: 20px;
}

.sjc-compact-title.ui.header {
	margin: 12px 0 0;
	color: var(--sjc-color-text);
}

.sjc-compact-controls {
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sjc-compact-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	align-items: center;
}

.sjc-compact-search-form.ui.action.input {
	display: flex;
	flex: 1 1 260px;
	max-width: 400px;
	margin: 0;
}

.sjc-compact-search-form.ui.action.input input {
	min-height: 44px;
	min-width: 0;
	flex: 1 1 auto;
}

.sjc-compact-search-form.ui.action.input .ui.button {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sjc-compact-toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	min-width: 0;
	gap: 8px;
	align-items: center;
}

.sjc-compact-sort-form.ui.form {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.sjc-compact-sort-form select.ui.dropdown {
	min-height: 44px;
	padding: 8px 12px;
	display: block;
	height: auto;
}

.sjc-compact-sort-submit {
	min-height: 44px;
}

.sjc-advanced-filter-toggle.ui.button {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.sjc-compact-category-bar {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 2px 0 4px;
}

.sjc-compact-category-bar::-webkit-scrollbar {
	display: none;
}

.sjc-compact-category-chips {
	display: flex;
	gap: 8px;
	align-items: center;
}

.sjc-category-chip.ui.label,
.sjc-tag-chip.ui.label {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	white-space: nowrap;
	min-height: 40px;
	margin: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface);
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
	color: var(--sjc-color-text);
	font-weight: 700;
}

.sjc-category-chip.ui.label.is-active,
.sjc-category-chip.ui.label.active,
.sjc-tag-chip.ui.label.is-active,
.sjc-tag-chip.ui.label.active {
	background: var(--sjc-color-primary);
	box-shadow: none;
	color: var(--sjc-color-primary-text);
}

.sjc-compact-tag-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sjc-catalog-empty.ui.message {
	padding: 48px 24px;
	text-align: center;
	margin: 24px 0;
}

.sjc-catalog-empty-msg {
	font-size: 15px;
	color: var(--sjc-color-muted);
	margin: 0 0 16px;
}

.sjc-catalog-reset-btn.ui.button {
	min-height: 44px;
}

.sjc-catalog-pagination {
	display: flex;
	margin-top: 28px;
	overflow-x: auto;
	padding: 2px;
}

.sjc-catalog-pagination .ui.pagination.menu {
	margin: 0 auto;
}

.sjc-compact-catalog .sjc-catalog-results[aria-busy="true"] {
	padding: 48px 0;
}

.sjc-catalog-pagination .ui.pagination.menu .item {
	min-height: 44px;
	min-width: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sjc-catalog-pagination .ui.pagination.menu .item.active {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-weight: 700;
}

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

/* Storefront Shell */
body.sjc-storefront-page {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--sjc-color-surface);
}

/* basis auto keeps main at content height; a 0 basis let long pages spill under the footer. */
.sjc-storefront-page > main {
	flex: 1 0 auto;
	min-height: 0;
}

:is(.sjc-storefront-header, .sjc-storefront-footer, .sjc-storefront-home, .sjc-compact-catalog, .sjc-product-showcase, .sjc-editorial) :is(h1, h2, h3, h4, h5, h6, button, input, select, textarea, .ui.button, .ui.input, .ui.menu, .ui.header, .ui.message > .header, .ui.card > .content > .header) {
	font-family: var(--sjc-font-body, "Nunito Sans", Arial, sans-serif);
}

.sjc-storefront-header,
.sjc-storefront-footer,
.sjc-storefront-home {
	background: var(--sjc-color-surface);
}

/* Pengaturan Header (Tampilan): --sjc-header-bg/--sjc-header-text hanya
   di-emit saat diisi, jadi fallback tetap mengikuti token brand. */
.sjc-storefront-header {
	background: var(--sjc-header-bg, var(--sjc-color-surface));
	border-bottom-color: color-mix(in srgb, var(--sjc-header-text, var(--sjc-color-text)) 14%, transparent);
}

.sjc-storefront-header {
	position: sticky;
	top: 0;
	z-index: var(--sjc-layer-sticky-nav);
	border-bottom: 1px solid var(--sjc-color-border);
}

/* overflow-x:hidden pada body (dari tema) merusak position:sticky.
   clip tidak membuat scroll container baru, jadi sticky tetap bekerja. */
body.sejoli-commerce {
	overflow-x: clip;
	height: auto !important;
	min-height: 100vh;
}

/* Semantic pins .ui.container to max-width:100% !important, so widen it through width and keep its auto margins. */
@media (min-width: 1200px) {
	.sjc-storefront-header-inner.ui.container,
	.sjc-storefront-footer-inner.ui.container,
	.sjc-storefront-home > .ui.container,
	.sjc-compact-catalog > .ui.container,
	.sjc-editorial .ui.container {
		width: 1200px;
		padding-left: 40px;
		padding-right: 40px;
	}
}

.sjc-storefront-header-inner.ui.container {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 72px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.sjc-storefront-brand.ui.header {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	max-width: 240px;
	margin: 0 auto 0 0;
	font-weight: 800;
	font-size: 17px;
	color: var(--sjc-header-text, var(--sjc-color-text));
	text-decoration: none;
}

.sjc-storefront-brand.ui.header > img,
.sjc-storefront-brand img {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	object-fit: contain;
	margin: 0;
	display: inline-block;
	vertical-align: middle;
}

.sjc-storefront-brand span {
	overflow-wrap: anywhere;
}

.sjc-storefront-desktop-nav {
	display: flex;
	align-items: center;
	min-width: 0;
	overflow-x: auto;
}

.sjc-storefront-desktop-nav .ui.secondary.pointing.menu {
	margin: 0;
}

.sjc-storefront-desktop-nav .ui.secondary.pointing.menu .item {
	padding: 10px 12px;
	font-weight: 600;
	color: var(--sjc-header-text, var(--sjc-color-text));
}

.sjc-storefront-mobile-panel .ui.menu .item {
	color: var(--sjc-header-text, var(--sjc-color-text));
}

.sjc-storefront-desktop-nav .ui.secondary.pointing.menu .item[aria-current="page"],
.sjc-storefront-desktop-nav .ui.secondary.pointing.menu .item.active {
	border-bottom-width: 2px;
	border-color: var(--sjc-color-primary);
	font-weight: 700;
}

.sjc-storefront-desktop-search {
	flex: 0 1 300px;
	min-width: 160px;
}

.sjc-storefront-search.ui.action.input {
	width: 100%;
}

.sjc-storefront-search.ui.action.input input {
	min-height: 44px;
	min-width: 0;
	border-radius: var(--sjc-radius-control) 0 0 var(--sjc-radius-control);
}

.sjc-storefront-search.ui.action.input .ui.button {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 0 var(--sjc-radius-control) var(--sjc-radius-control) 0;
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-text);
	font-weight: 700;
}

.sjc-storefront-utilities {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.sjc-storefront-utilities .ui.button {
	margin: 0;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 700;
}

.sjc-storefront-cart-toggle.ui.button {
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-text);
}

.sjc-storefront-account.ui.button {
	background: var(--sjc-color-surface);
	border: 1px solid var(--sjc-color-border);
	color: var(--sjc-color-text);
}

.sjc-storefront-cart-toggle .sjc-store-cart-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.sjc-storefront-header .sjc-cart-button-icon {
	display: none;
	align-items: center;
	justify-content: center;
}

.sjc-storefront-header .sjc-cart-button-icon svg {
	width: 18px;
	height: 18px;
}

.sjc-storefront-mobile-menu {
	display: none;
	position: static;
}

.sjc-storefront-mobile-menu summary.ui.button {
	min-height: 44px;
	cursor: pointer;
	list-style: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sjc-storefront-mobile-menu summary::-webkit-details-marker {
	display: none;
}

.sjc-storefront-menu-icon {
	display: none;
	width: 16px;
	height: 2px;
	position: relative;
	background: currentColor;
	border-radius: 2px;
}

.sjc-storefront-menu-icon::before,
.sjc-storefront-menu-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.sjc-storefront-menu-icon::before {
	top: -5px;
}

.sjc-storefront-menu-icon::after {
	top: 5px;
}

.sjc-storefront-mobile-panel.ui.raised.segment {
	position: absolute;
	left: 1em;
	right: 1em;
	top: 100%;
	margin: 0;
	padding: 20px;
	min-width: 0;
	z-index: var(--sjc-layer-drawer, 600);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sjc-storefront-mobile-panel .ui.vertical.secondary.menu {
	width: 100%;
	margin: 0;
}

.sjc-storefront-footer {
	border-top: 1px solid var(--sjc-color-border);
	padding: 28px 0;
}

.sjc-storefront-footer-inner.ui.container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: var(--sjc-font-size-small);
	color: var(--sjc-color-muted);
}

.sjc-storefront-footer p {
	margin: 0;
}

.sjc-storefront-footer a {
	color: var(--sjc-color-text);
}

/* Home */
.sjc-storefront-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
	padding: clamp(32px, 5vw, 64px) 0 24px;
}

/* Without a hero product there is no second column to reserve. */
.sjc-storefront-hero.is-solo {
	grid-template-columns: 1fr;
}

.sjc-storefront-hero-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sjc-color-accent, #2563eb);
}

.sjc-storefront-hero h1.ui.header {
	margin: 14px 0 0;
	font-family: var(--sjc-font-heading);
	font-weight: 900;
	font-size: clamp(2.125rem, 4.4vw, 3.5rem);
	line-height: 1.03;
	letter-spacing: -0.03em;
}

.sjc-storefront-hero p {
	max-width: 46ch;
	margin: 18px 0 0;
	font-size: 17px;
	line-height: 1.6;
	color: var(--sjc-color-muted);
}

.sjc-storefront-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.sjc-storefront-hero-actions .ui.button {
	min-height: 48px;
	padding: 0 22px;
	display: inline-flex;
	align-items: center;
	font-weight: 800;
	font-size: 15px;
}

.sjc-storefront-hero-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 30px 0 0;
	padding: 22px 0 0;
	list-style: none;
	border-top: 1px solid var(--sjc-color-border);
}

.sjc-storefront-hero-trust li {
	position: relative;
	font-size: 13px;
	font-weight: 700;
	color: var(--sjc-color-text);
}

.sjc-storefront-hero-trust li + li::before {
	content: "·";
	position: absolute;
	left: -11px;
	color: #d4d4d8;
}

.sjc-arrow {
	margin-left: 6px;
}

.sjc-storefront-hero-product {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	overflow: hidden;
	background: var(--sjc-color-surface);
	box-shadow: var(--sjc-shadow-card);
	text-decoration: none;
	color: inherit;
}

.sjc-storefront-hero-product-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--sjc-color-surface-soft);
}

.sjc-storefront-hero-product-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sjc-storefront-hero-badge.ui.label {
	position: absolute;
	top: 12px;
	left: 12px;
	margin: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-error);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.sjc-storefront-hero-product-body {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px 20px;
}

.sjc-storefront-hero-product-info {
	min-width: 0;
	flex: 1;
}

.sjc-storefront-hero-product-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sjc-color-muted);
}

.sjc-storefront-hero-product-title {
	display: block;
	margin-top: 4px;
	font-size: 17px;
	font-weight: 800;
	color: var(--sjc-color-text);
}

.sjc-storefront-hero-product-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-top: 6px;
}

.sjc-storefront-hero-product-price .sjc-current-price {
	font-size: 20px;
	font-weight: 900;
}

.sjc-storefront-hero-product-price .sjc-regular-price {
	font-size: 14px;
	color: var(--sjc-color-muted);
}

.sjc-storefront-hero-product-cta.ui.button {
	flex: 0 0 auto;
	margin: 0 0 0 auto;
	min-height: 44px;
	white-space: nowrap;
}

.sjc-storefront-hero-search {
	display: none;
	margin-top: 18px;
}

.sjc-storefront-hero-search .sjc-storefront-search.ui.action.input {
	width: 100%;
}

.sjc-storefront-hero-search .sjc-storefront-search.ui.action.input .ui.button {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

@media (max-width: 991px) {
	.sjc-storefront-hero {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.sjc-storefront-hero p {
		max-width: none;
	}

	.sjc-storefront-hero-product-body {
		flex-wrap: wrap;
	}

	.sjc-storefront-hero-product-cta.ui.button {
		margin-left: 0;
		width: 100%;
	}
}

/* Mobile hero mirrors the design: headline, intro, then a full-width search. */
@media (max-width: 640px) {
	.sjc-storefront-hero-actions,
	.sjc-storefront-hero-trust,
	.sjc-storefront-hero .sjc-storefront-hero-product {
		display: none;
	}

	.sjc-storefront-hero-search {
		display: block;
	}
}

/* Header search suggestions */
.sjc-storefront-search-suggest {
	position: relative;
}

.sjc-storefront-search-panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: var(--sjc-layer-drawer, 600);
	background: var(--sjc-color-surface);
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	box-shadow: var(--sjc-shadow-floating);
	padding: 8px;
}

.sjc-search-suggest-heading {
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sjc-color-muted);
}

.sjc-search-suggest-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: var(--sjc-radius-control);
	color: var(--sjc-color-text);
	text-decoration: none;
}

.sjc-search-suggest-row:hover {
	background: var(--sjc-color-surface-soft);
}

.sjc-search-suggest-thumb,
.sjc-search-suggest-thumb-placeholder {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--sjc-color-surface-soft);
}

.sjc-search-suggest-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sjc-search-suggest-title {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sjc-search-suggest-price {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 800;
}

.sjc-search-suggest-all {
	display: block;
	padding: 9px 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sjc-color-accent, #2563eb);
	text-decoration: none;
}

/* Product card anatomy (storefront revamp) */
/* Semantic's card clearfix becomes a third flex item and eats the flush-right spacing. */
.ui.card.sjc-product-card > .content::after,
.ui.card.sjc-product-card > .extra.content::after {
	display: none;
}

.sjc-product-showcase .sjc-product-grid,
.sjc-product-showcase .sjc-product-showcase-track,
.sjc-compact-catalog .sjc-product-grid {
	gap: 20px;
}

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

.sjc-card-eyebrow {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sjc-color-muted);
	line-height: 1.3;
}

.ui.card.sjc-product-card > .content.sjc-product-info {
	padding: 14px 16px 10px;
	flex: 1 1 auto;
}

.ui.card.sjc-product-card > .content > a.header {
	min-height: 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--sjc-color-text);
}

.ui.card.sjc-product-card .sjc-product-excerpt {
	display: none;
}

.ui.card.sjc-product-card .sjc-price-container {
	margin-top: 10px;
}

/*
 * Semantic mutes .extra.content to rgba(0,0,0,.4) and the price link inherits it,
 * which left the payable price fainter than the struck-through one.
 */
.sjc-product-card .sjc-current-price {
	font-size: 16px;
	font-weight: 900;
	color: var(--sjc-color-text);
}

.sjc-product-card .sjc-regular-price {
	font-size: 13px;
	color: var(--sjc-color-muted);
}

.ui.card.sjc-product-card > .extra.content.sjc-quick-add-container {
	padding: 0 16px 16px;
	border-top: 0;
}

.ui.card.sjc-product-card > .extra.content.sjc-card-bottom-row {
	padding: 0 16px 16px;
	border-top: 0;
}

/* Text add-to-cart reads as the quieter action next to the card link. */
.ui.card.sjc-product-card .sjc-btn-add-cart.ui.fluid.primary.button:not(.is-icon-only) {
	min-height: 44px;
	background: var(--sjc-color-surface);
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
	color: var(--sjc-color-text);
	font-weight: 800;
}

.ui.card.sjc-product-card .sjc-btn-add-cart.ui.fluid.primary.button:not(.is-icon-only):hover,
.ui.card.sjc-product-card .sjc-btn-add-cart.ui.fluid.primary.button:not(.is-icon-only):focus {
	background: var(--sjc-color-primary);
	box-shadow: 0 0 0 1px var(--sjc-color-primary) inset;
	color: var(--sjc-color-primary-text);
}

.ui.card.sjc-product-card .sjc-btn-add-cart.is-icon-only {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	padding: 0;
}

.ui.card.sjc-product-card .sjc-featured-badge.ui.label {
	top: 10px;
	right: 10px;
	left: auto;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-accent, #2563eb);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.sjc-promo-badge.ui.label {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	margin: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-error);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

/*
 * Semantic buttons are inline-block, so a custom min-height adds slack below the
 * label instead of around it. Centre every storefront button through flex.
 */
:is(
	.sjc-storefront-header,
	.sjc-storefront-footer,
	.sjc-storefront-home,
	.sjc-compact-catalog,
	.sjc-product-showcase,
	.sjc-editorial,
	.sjc-editorial-minicart,
	.sjc-filter-drawer,
	.sjc-compact-bottom-bar
) .ui.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

:is(
	.sjc-storefront-header,
	.sjc-storefront-footer,
	.sjc-storefront-home,
	.sjc-compact-catalog,
	.sjc-product-showcase,
	.sjc-editorial,
	.sjc-editorial-minicart,
	.sjc-filter-drawer,
	.sjc-compact-bottom-bar
) .ui.fluid.button {
	display: flex;
	width: 100%;
}

/* Product detail (storefront revamp) */
.sjc-editorial-wrapper.ui.container {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 32px;
}

/* Must restate the stack here: the rule above sits after the original breakpoint. */
@media (max-width: 991px) {
	.sjc-editorial-wrapper.ui.container {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.sjc-editorial-purchase-panel {
	padding: 24px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-color-surface);
	box-shadow: var(--sjc-shadow-card);
}

/* Category reads as an eyebrow here, not a filled chip. */
.sjc-editorial-purchase-panel .sjc-editorial-tag.ui.label {
	display: block;
	padding: 0;
	margin: 0 0 10px;
	background: none;
	border: 0;
	border-radius: 0;
	color: var(--sjc-color-accent, #2563eb);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.sjc-editorial-purchase-panel .sjc-editorial-title.ui.header {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.sjc-editorial-purchase-panel .sjc-editorial-subtitle,
.sjc-editorial-purchase-panel .sjc-editorial-short-description {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--sjc-color-muted);
}

.sjc-editorial-purchase-panel .sjc-editorial-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.sjc-editorial-purchase-panel .sjc-editorial-price .sjc-current-price {
	font-size: 34px;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.sjc-editorial-purchase-panel .sjc-editorial-price .sjc-regular-price {
	font-size: 17px;
	color: var(--sjc-color-muted);
}

.sjc-editorial-discount-badge.ui.label {
	margin: 0;
	border-radius: var(--sjc-radius-pill);
	background: #fef2f2;
	color: var(--sjc-color-error);
	font-weight: 800;
}

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

.sjc-editorial-state-badge.ui.label {
	margin: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface);
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
	color: #3f3f46;
	font-size: 12px;
	font-weight: 700;
}

.sjc-editorial-facts {
	display: flex;
	flex-direction: column;
	margin-top: 18px;
}

.sjc-editorial-fact-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--sjc-color-surface-soft);
	font-size: 14px;
}

.sjc-editorial-fact-label {
	flex: 0 0 42%;
	font-weight: 600;
	color: var(--sjc-color-muted);
}

.sjc-editorial-fact-value {
	font-weight: 700;
	color: var(--sjc-color-text);
}

.sjc-editorial-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}

.sjc-editorial-qty.ui.action.input {
	align-self: flex-start;
	margin-bottom: 8px;
}

.sjc-editorial-purchase-panel .sjc-editorial-btn-buy.ui.button {
	min-height: 52px;
	font-size: 16px;
	font-weight: 900;
}

.sjc-editorial-purchase-panel .sjc-editorial-btn-bag.ui.button {
	min-height: 48px;
	font-size: 15px;
	font-weight: 800;
	box-shadow: 0 0 0 1.5px var(--sjc-color-primary) inset;
	color: var(--sjc-color-text);
}

.sjc-editorial-trust {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 18px 0 0;
	padding: 16px 0 0;
	list-style: none;
	border-top: 1px solid var(--sjc-color-border);
}

.sjc-editorial-trust li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #3f3f46;
}

.sjc-editorial-trust i.icon {
	margin: 0;
	color: var(--sjc-color-muted);
}

.sjc-editorial-trust li:first-child i.icon {
	color: var(--sjc-color-success, #10b981);
}

.sjc-editorial-trust a {
	color: inherit;
	text-decoration: underline;
}

/* Below-hero content */
.sjc-product-detail-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.sjc-product-detail-intro-aside {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sjc-product-detail-intro .sjc-highlights-grid {
	grid-template-columns: 1fr;
	gap: 14px;
}

/* The readable measure belongs to prose only; FAQ spans the page per the design. */
.sjc-product-detail-intro .sjc-product-prose {
	max-width: 68ch;
}

.sjc-product-faq .sjc-faq-accordion {
	max-width: none;
}

@media (max-width: 991px) {
	.sjc-product-detail-intro {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* Gallery */
/* Cap the height instead of fixing it, otherwise a wide photo letterboxes inside the frame. */
.sjc-gallery-main-frame {
	position: relative;
	aspect-ratio: auto;
	height: auto;
	max-height: 500px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
}

.sjc-gallery-main-image {
	height: auto;
	max-height: 498px;
}

.sjc-gallery-counter {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 4px 10px;
	border-radius: var(--sjc-radius-pill);
	background: rgba(17, 17, 17, 0.78);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

/* flex-basis drives the width inside the thumb track, so it has to move with width/height. */
.sjc-gallery-thumb {
	width: 88px;
	height: 88px;
	flex: 0 0 88px;
	border-radius: 10px;
}

@media (max-width: 991px) {
	.sjc-gallery-main-frame {
		max-height: 330px;
	}

	.sjc-gallery-main-image {
		max-height: 328px;
	}

	.sjc-gallery-thumb {
		width: 60px;
		height: 60px;
		flex: 0 0 60px;
	}
}

/*
 * Icon fonts draw on the baseline of the inherited line-height, so a 13px icon box
 * inheriting a 22.8px line-height renders its glyph below the text it sits next to.
 */
:is(
	.sjc-storefront-header,
	.sjc-storefront-footer,
	.sjc-storefront-home,
	.sjc-compact-catalog,
	.sjc-product-showcase,
	.sjc-editorial,
	.sjc-editorial-minicart,
	.sjc-filter-drawer,
	.sjc-compact-bottom-bar
) i.icon {
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Quantity stepper — the glyphs were inheriting white text on a light grey button. */
.sjc-buy-now-checkout .sjc-buy-now-qty {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	width: auto;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
}

.sjc-buy-now-checkout .sjc-buy-now-qty button {
	flex: 0 0 44px;
	width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.sjc-buy-now-checkout .sjc-buy-now-qty button:hover:not(:disabled):not(.is-disabled) {
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
}

.sjc-buy-now-checkout .sjc-buy-now-qty button:focus-visible {
	outline: 2px solid var(--sjc-color-primary);
	outline-offset: -2px;
}

.sjc-buy-now-checkout .sjc-buy-now-qty input {
	width: 64px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--sjc-color-surface);
	color: var(--sjc-color-text);
	text-align: center;
	font-size: 15px;
	font-weight: 800;
	-moz-appearance: textfield;
}

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

/* Shipping method choices */
.sjc-buy-now-shipping-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
}

.sjc-buy-now-shipping-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

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

.sjc-buy-now-shipping-empty {
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--sjc-color-muted);
}

/* Password reveal */
.sjc-password-field {
	position: relative;
	display: block;
}

.sjc-password-field input {
	width: 100%;
	padding-right: 46px;
}

.sjc-password-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: var(--sjc-radius-control);
	background: transparent;
	color: var(--sjc-color-muted);
	cursor: pointer;
}

.sjc-password-toggle:hover {
	color: var(--sjc-color-text);
}

.sjc-password-toggle:focus-visible {
	outline: 2px solid var(--sjc-color-primary);
	outline-offset: 2px;
}

/* Subdistrict dropdown keeps the same height as the other checkout inputs. */
.sjc-buy-now-checkout .sjc-subdistrict-dropdown.ui.dropdown {
	min-height: 46px;
	padding: 12px 36px 12px 14px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	font-size: 15px;
}

.sjc-buy-now-checkout .sjc-subdistrict-dropdown.ui.dropdown .menu {
	border-radius: var(--sjc-radius-control);
}

.sjc-buy-now-checkout .sjc-subdistrict-dropdown.ui.dropdown .default.text {
	color: var(--sjc-color-muted);
}

/* Variant picker */
.sjc-variant-picker {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 4px;
}

.sjc-variant-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sjc-variant-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 16px;
	border: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface);
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
	color: var(--sjc-color-text);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--sjc-transition, 180ms ease), color var(--sjc-transition, 180ms ease);
}

.sjc-variant-pill:hover {
	box-shadow: 0 0 0 1px var(--sjc-color-text) inset;
}

.sjc-variant-pill.is-active {
	background: var(--sjc-color-primary);
	box-shadow: none;
	color: var(--sjc-color-primary-text);
}

.sjc-variant-pill:focus-visible {
	outline: 2px solid var(--sjc-color-primary);
	outline-offset: 2px;
}

.sjc-variant-extra {
	font-size: 12px;
	font-weight: 800;
	opacity: 0.7;
}

.sjc-variant-label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sjc-color-muted);
}

.sjc-variant-required {
	color: var(--sjc-color-error);
}

.sjc-variant-select {
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
	color: var(--sjc-color-text);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
}

.sjc-variant-select:focus-visible {
	outline: 2px solid var(--sjc-color-accent, #2563eb);
	outline-offset: 2px;
}

.sjc-variant-error {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--sjc-color-error);
}

.sjc-variant-error[hidden] {
	display: none;
}

/* Empty states + skeleton loading (storefront revamp) */
.sjc-catalog-empty {
	padding: 48px 32px;
	text-align: center;
}

.sjc-empty-state-title {
	margin: 0;
	font-size: 18px;
	font-weight: 900;
	color: var(--sjc-color-text);
}

.sjc-empty-state-text {
	max-width: 42ch;
	margin: 8px auto 20px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--sjc-color-muted);
}

.sjc-empty-state-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.sjc-empty-state-actions .ui.button {
	min-height: 44px;
	margin: 0;
	font-weight: 800;
}

@keyframes sjcShimmer {
	0% { background-position: -420px 0; }
	100% { background-position: 420px 0; }
}

.sjc-skel {
	background: linear-gradient(90deg, #eef0f2 0%, #f7f8f9 40%, #eef0f2 80%);
	background-size: 420px 100%;
	animation: sjcShimmer 1.4s linear infinite;
	border-radius: 4px;
}

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

.sjc-skel-image {
	aspect-ratio: 1 / 1;
	border-radius: 0;
}

.sjc-skeleton-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px;
}

.sjc-skel-line.is-eyebrow {
	height: 10px;
	width: 40%;
}

.sjc-skel-line.is-title {
	height: 14px;
	width: 85%;
}

.sjc-skel-line.is-price {
	height: 16px;
	width: 50%;
}

.sjc-skel-button {
	height: 40px;
	margin-top: 4px;
	border-radius: var(--sjc-radius-control);
}

.sjc-skeleton-status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.sjc-skel {
		animation: none;
	}
}

/* Buy Now offcanvas (storefront revamp) — restyle only, the checkout contract is untouched. */
.sjc-checkout-offcanvas-panel {
	width: min(560px, 96vw);
	padding: 0 24px 28px;
	background: var(--sjc-color-surface);
}

.sjc-checkout-offcanvas-close {
	top: 16px;
	width: 36px;
	height: 36px;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-text);
}

.sjc-buy-now-head {
	position: sticky;
	top: 0;
	z-index: 1;
	align-items: center;
	gap: 16px;
	margin: 0 44px 20px 0;
	padding: 20px 0 16px;
	background: var(--sjc-color-surface);
	border-bottom: 1px solid var(--sjc-color-border);
}

.sjc-buy-now-head p {
	margin: 0 0 4px;
	color: var(--sjc-color-accent, #2563eb);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.sjc-buy-now-head h2 {
	font-size: 19px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.sjc-buy-now-head-total {
	font-size: 20px;
	font-weight: 900;
	white-space: nowrap;
}

.sjc-buy-now-head-total .sejoli-unique-number,
.sjc-buy-now-total .sejoli-unique-number {
	color: var(--sjc-color-error);
}

.sjc-buy-now-card {
	padding: 18px 20px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	box-shadow: none;
}

.sjc-buy-now-section-title {
	margin-bottom: 14px;
	gap: 10px;
}

.sjc-buy-now-section-title span {
	width: 24px;
	height: 24px;
	font-size: 12px;
}

.sjc-buy-now-section-title h3,
.sjc-buy-now-summary-card h3 {
	font-size: 15px;
	font-weight: 800;
}

.sjc-buy-now-checkout input[type="text"],
.sjc-buy-now-checkout input[type="email"],
.sjc-buy-now-checkout input[type="tel"],
.sjc-buy-now-checkout input[type="password"],
.sjc-buy-now-checkout input[type="search"],
.sjc-buy-now-checkout select,
.sjc-buy-now-checkout textarea {
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	font-size: 15px;
}

.sjc-buy-now-checkout textarea {
	padding: 12px 14px;
}

.sjc-buy-now-summary-rows {
	font-size: 14px;
}

.sjc-buy-now-total {
	font-size: 22px;
	font-weight: 900;
}

.sjc-buy-now-submit {
	min-height: 52px;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-size: 16px;
}

.sjc-buy-now-summary-card small {
	display: block;
	margin-top: 10px;
	text-align: center;
	font-size: 12px;
	color: var(--sjc-color-muted);
}

/* Mini-cart drawer (storefront revamp) */
.sjc-editorial-minicart {
	width: 380px;
	max-width: calc(100vw - 24px);
	padding: 0;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-card);
	box-shadow: var(--sjc-shadow-floating);
}

.sjc-editorial-minicart-head {
	gap: 6px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--sjc-color-border);
}

.sjc-editorial-minicart-head strong {
	font-size: 17px;
	font-weight: 900;
}

.sjc-editorial-minicart-head .count {
	font-size: 15px;
	font-weight: 700;
	color: var(--sjc-color-muted);
}

.sjc-editorial-minicart-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--sjc-radius-control);
	color: var(--sjc-color-muted);
}

.sjc-editorial-minicart-list {
	margin: 0;
	padding: 16px 20px;
	max-height: 320px;
}

.sjc-editorial-minicart-list li {
	grid-template-columns: 56px 1fr auto;
	gap: 12px;
	align-items: flex-start;
	padding: 0 0 14px;
	border-bottom: 0;
}

.sjc-editorial-minicart-list li + li {
	padding-top: 0;
}

.sjc-editorial-minicart-list .thumb {
	width: 56px;
	height: 56px;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface-soft);
}

.sjc-editorial-minicart-list .name {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
}

.sjc-editorial-minicart-list .price {
	margin-top: 4px;
	font-size: 13px;
	color: var(--sjc-color-muted);
}

.sjc-minicart-variants {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: var(--sjc-color-muted);
}

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

.sjc-editorial-minicart-foot {
	padding: 16px 20px 20px;
	border-top: 1px solid var(--sjc-color-border);
}

.sjc-editorial-minicart-subtotal {
	align-items: baseline;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--sjc-color-muted);
}

.sjc-editorial-minicart-subtotal strong {
	font-size: 20px;
	font-weight: 900;
	color: var(--sjc-color-text);
}

.sjc-editorial-minicart-note {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--sjc-color-muted);
}

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

.sjc-minicart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	color: var(--sjc-color-text);
	font-weight: 700;
}

.sjc-minicart-btn.primary {
	min-height: 48px;
	border-color: var(--sjc-color-primary);
	background: var(--sjc-color-primary);
	color: var(--sjc-color-primary-text);
	font-weight: 900;
}

.sjc-editorial-minicart-empty {
	padding: 44px 32px;
	text-align: center;
}

.sjc-empty-state-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-muted);
}

.sjc-empty-state-icon i.icon {
	margin: 0;
	font-size: 18px;
}

.sjc-editorial-minicart-empty .sjc-empty-state-title {
	margin: 0;
	font-size: 18px;
	font-weight: 900;
}

.sjc-editorial-minicart-empty small {
	display: block;
	margin: 8px 0 20px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--sjc-color-muted);
}

.sjc-editorial-minicart-empty .sjc-minicart-btn {
	display: inline-flex;
	padding: 0 20px;
}

/* Catalog toolbar (storefront revamp) */
.sjc-compact-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 14px 0 22px;
}

.sjc-compact-catalog .sjc-compact-title.ui.header {
	margin: 0;
	font-size: 40px;
	font-weight: 900;
	letter-spacing: -0.025em;
}

.sjc-compact-result-count {
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--sjc-color-muted);
}

.sjc-compact-head-row .sjc-compact-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.sjc-compact-view-toggle {
	display: flex;
	gap: 2px;
	padding: 3px;
	border-radius: 10px;
	background: var(--sjc-color-surface-soft);
}

.sjc-view-mode-btn.ui.icon.button {
	width: 40px;
	height: 38px;
	padding: 0;
	margin: 0;
	border-radius: var(--sjc-radius-control);
	background: transparent;
	color: var(--sjc-color-muted);
	box-shadow: none;
}

.sjc-view-mode-btn.ui.icon.button.is-active {
	background: var(--sjc-color-surface);
	color: var(--sjc-color-text);
	box-shadow: 0 1px 3px rgba(17, 24, 39, 0.12);
}

.sjc-compact-catalog .sjc-compact-sort-select.ui.dropdown {
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--sjc-color-border);
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
	font-weight: 700;
}

.sjc-compact-catalog .sjc-advanced-filter-toggle.ui.button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	font-weight: 700;
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
}

/* These carry an explicit display, so [hidden] needs to win it back. */
.sjc-filter-count-badge[hidden],
.sjc-active-filter-bar[hidden],
.sjc-filter-drawer-backdrop[hidden] {
	display: none;
}

.sjc-filter-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-accent, #2563eb);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.sjc-chip-count {
	margin-left: 6px;
	color: var(--sjc-color-muted);
	font-weight: 600;
}

.sjc-category-chip.is-active .sjc-chip-count {
	color: inherit;
	opacity: 0.7;
}

.sjc-compact-category-bar {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--sjc-color-border);
}

/* Active filter summary */
.sjc-active-filter-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 16px 0 20px;
}

.sjc-active-filter-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--sjc-color-muted);
}

.sjc-active-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sjc-active-filter-chip.ui.label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	border: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-text);
	font-weight: 700;
	cursor: pointer;
}

.sjc-active-filter-reset {
	font-size: 13px;
	font-weight: 700;
	color: var(--sjc-color-muted);
}

/* Filter drawer */
.sjc-filter-drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: var(--sjc-layer-drawer, 600);
	background: rgba(17, 24, 39, 0.4);
}

.sjc-filter-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: calc(var(--sjc-layer-drawer, 600) + 1);
	display: flex;
	flex-direction: column;
	width: min(340px, 90vw);
	background: var(--sjc-color-surface);
	border-left: 1px solid var(--sjc-color-border);
	box-shadow: var(--sjc-shadow-floating);
}

.sjc-filter-drawer[hidden] {
	display: none;
}

.sjc-filter-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--sjc-color-border);
}

.sjc-filter-drawer-title {
	font-size: 17px;
	font-weight: 900;
}

.sjc-filter-drawer-close.ui.icon.button {
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	background: transparent;
	color: var(--sjc-color-muted);
}

.sjc-filter-drawer-body {
	flex: 1;
	overflow-y: auto;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.sjc-filter-drawer-section-title {
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sjc-color-muted);
}

.sjc-filter-drawer-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sjc-filter-drawer-chips .ui.label {
	margin: 0;
	border-radius: var(--sjc-radius-pill);
	background: var(--sjc-color-surface);
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
	color: var(--sjc-color-text);
	font-weight: 700;
}

.sjc-filter-drawer-chips .ui.label.is-active {
	background: var(--sjc-color-primary);
	box-shadow: none;
	color: var(--sjc-color-primary-text);
}

.sjc-filter-drawer-foot {
	display: flex;
	gap: 10px;
	padding: 16px 20px 20px;
	border-top: 1px solid var(--sjc-color-border);
}

.sjc-filter-drawer-foot .ui.button {
	margin: 0;
	min-height: 46px;
	font-weight: 800;
}

.sjc-filter-drawer-foot .sjc-catalog-reset-btn {
	flex: 1;
}

.sjc-filter-drawer-apply {
	flex: 1.4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.sjc-filter-apply-count::before {
	content: "· ";
}

body.sjc-filter-drawer-open {
	overflow: hidden;
}

/* List view */
.sjc-compact-catalog.is-list-view .sjc-product-grid {
	grid-template-columns: 1fr;
	gap: 12px;
}

.sjc-compact-catalog.is-list-view .ui.card.sjc-product-card {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	grid-template-rows: 1fr auto;
	align-items: start;
}

.sjc-compact-catalog.is-list-view .ui.card.sjc-product-card > .image.sjc-product-image-container {
	grid-row: 1 / -1;
	aspect-ratio: auto;
	height: 100%;
	min-height: 160px;
}

.sjc-compact-catalog.is-list-view .ui.card.sjc-product-card > .content.sjc-product-info {
	grid-column: 2;
	grid-row: 1;
	padding: 16px 20px 8px;
}

.sjc-compact-catalog.is-list-view .ui.card.sjc-product-card > .extra.content {
	grid-column: 2;
	grid-row: 2;
	padding: 0 20px 16px;
}

.sjc-compact-catalog.is-list-view .ui.card.sjc-product-card .sjc-product-excerpt {
	display: block;
	margin-top: 6px;
	color: var(--sjc-color-muted);
}

/* Mobile filter/sort bar */
.sjc-compact-bottom-bar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--sjc-layer-sticky-nav, 100);
	gap: 10px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 8px));
	border-top: 1px solid var(--sjc-color-border);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
}

.sjc-compact-bottom-bar .ui.button {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0;
	font-weight: 800;
	box-shadow: 0 0 0 1px var(--sjc-color-border) inset;
}

@media (max-width: 767px) {
	.sjc-compact-head-row {
		flex-direction: column;
		align-items: stretch;
	}

	.sjc-compact-head-row .sjc-compact-toolbar-actions {
		display: none;
	}

	.sjc-compact-catalog .sjc-compact-title.ui.header {
		font-size: 30px;
	}

	.sjc-compact-bottom-bar {
		display: flex;
	}

	.sjc-compact-catalog .sjc-catalog-results {
		padding-bottom: 88px;
	}

	.sjc-compact-catalog.is-list-view .ui.card.sjc-product-card {
		grid-template-columns: 120px minmax(0, 1fr);
	}

	/* Two-up cards are narrow; keep the amount on one line and shrink the trailing button. */
	.ui.card.sjc-product-card .sjc-current-price,
	.ui.card.sjc-product-card .sjc-regular-price {
		white-space: nowrap;
	}

	.ui.card.sjc-product-card > .extra.content.sjc-card-bottom-row {
		gap: 8px;
		padding: 0 12px 12px;
	}

	.ui.card.sjc-product-card .sjc-btn-add-cart.is-icon-only {
		flex: 0 0 40px;
		width: 40px;
		height: 40px;
	}
}

/* Desktop search lives in the shared header; the catalog only shows its own on mobile. */
@media (min-width: 768px) {
	.sjc-compact-catalog .sjc-compact-search-form.ui.action.input {
		display: none;
	}
}

.sjc-storefront-preview-note.ui.info.message {
	margin: 20px 0 0;
}

.sjc-storefront-categories {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 40px 2px 0;
	scrollbar-width: thin;
}

.sjc-storefront-collection {
	padding: 28px 0 48px;
}

.sjc-storefront-collection-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.sjc-storefront-collection-head h2.ui.header {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.sjc-storefront-collection-all {
	flex: 0 0 auto;
	font-size: 14px;
	font-weight: 700;
	color: var(--sjc-color-accent, #2563eb);
	text-decoration: none;
}

.sjc-storefront-all-products {
	display: none;
	margin: 16px 0 0;
}

.sjc-storefront-all-products .ui.button {
	min-height: 46px;
	font-weight: 800;
}

/* Call-to-action banner; --sjc-cta-bg is set inline when the store picks a colour. */
.sjc-storefront-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 0 48px;
	padding: 32px 36px;
	border-radius: var(--sjc-radius-card);
	background: var(--sjc-cta-bg, var(--sjc-color-primary));
	color: var(--sjc-color-primary-text);
}

.sjc-storefront-cta-copy {
	min-width: 0;
	max-width: 62ch;
}

.sjc-storefront-cta-title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: inherit;
}

.sjc-storefront-cta-text {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: inherit;
	opacity: 0.85;
}

.sjc-storefront-cta-button.ui.large.button {
	flex: 0 0 auto;
	margin: 0;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--sjc-radius-control);
	background: var(--sjc-color-surface);
	color: var(--sjc-color-text);
	font-weight: 800;
}

.sjc-storefront-cta-button.ui.large.button:hover,
.sjc-storefront-cta-button.ui.large.button:focus {
	background: var(--sjc-color-surface-soft);
	color: var(--sjc-color-text);
}

@media (max-width: 640px) {
	.sjc-storefront-cta {
		padding: 24px;
	}

	.sjc-storefront-cta-button.ui.large.button {
		width: 100%;
	}
}

.sjc-storefront-skip {
	position: absolute;
	left: 16px;
	top: 0;
	transform: translateY(-150%);
	padding: 12px;
	background: var(--sjc-color-surface);
	z-index: 1;
}

.sjc-storefront-skip:focus {
	transform: translateY(0);
}

:is(.sjc-storefront-page, .sjc-compact-catalog, .sjc-product-showcase) :where(a, button, summary, input, select, [tabindex]):focus-visible {
	outline: 2px solid var(--sjc-color-accent);
	outline-offset: 3px;
}

.sjc-storefront-header a:hover,
.sjc-storefront-footer a:hover,
.sjc-storefront-all-products a:hover {
	color: var(--sjc-color-accent);
}

/* Toasts on storefront / editorial / compact surfaces */
.sjc-toast.ui.message,
.sjc-editorial-toast.ui.message {
	position: fixed;
	z-index: var(--sjc-layer-toast, 1000);
	margin: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--sjc-transition, 180ms ease), transform var(--sjc-transition, 180ms ease);
}

.sjc-toast.ui.message {
	right: 24px;
	bottom: 24px;
	max-width: min(360px, calc(100vw - 48px));
	transform: translateY(18px);
}

.sjc-editorial-toast.ui.message {
	top: 88px;
	right: 24px;
	max-width: min(360px, calc(100vw - 48px));
	transform: translateY(-8px);
}

.sjc-toast.ui.message.show,
.sjc-editorial-toast.ui.message.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

@media (max-width: 1024px) {
	.sjc-compact-catalog .sjc-product-grid {
		grid-template-columns: repeat(var(--sjc-catalog-cols-tablet, 2), minmax(0, 1fr));
	}
	.sjc-storefront-desktop-nav,
	.sjc-storefront-desktop-search,
	.sjc-storefront-account.ui.button {
		display: none;
	}
	.sjc-storefront-mobile-menu {
		display: block;
	}
	.sjc-storefront-header .sjc-cart-button-icon {
		display: inline-flex;
	}
	.sjc-storefront-header .sjc-cart-button-label,
	.sjc-storefront-menu-label {
		display: none;
	}
	.sjc-storefront-menu-icon {
		display: block;
	}
	.sjc-storefront-cart-toggle.ui.button,
	.sjc-storefront-mobile-menu summary.ui.button {
		position: relative;
		width: 44px;
		height: 44px;
		padding: 0;
		background: var(--sjc-color-surface-soft);
	}
	.sjc-storefront-cart-toggle .sjc-store-cart-badge {
		position: absolute;
		top: 2px;
		right: 2px;
		min-width: 18px;
		height: 18px;
		font-size: 11px;
	}
	.sjc-storefront-collection-all {
		display: none;
	}
	.sjc-storefront-all-products {
		display: block;
	}
}

@media (max-width: 640px) {
	.sjc-compact-catalog .sjc-product-grid {
		grid-template-columns: repeat(var(--sjc-catalog-cols-mobile, 1), minmax(0, 1fr));
	}
	.sjc-storefront-header-inner.ui.container {
		gap: 12px;
		min-height: 72px;
	}
	.sjc-storefront-utilities {
		gap: 4px;
	}
	.sjc-storefront-brand.ui.header {
		gap: 8px;
		font-size: 1em;
	}
	.sjc-storefront-brand.ui.header > img,
	.sjc-storefront-brand img {
		flex-basis: 32px;
		width: 32px;
		height: 32px;
	}
	.sjc-storefront-page .sjc-category-chip,
	.sjc-storefront-page .sjc-tag-chip,
	.sjc-storefront-page .sjc-advanced-filter-toggle,
	.sjc-storefront-page .sjc-page-link,
	.sjc-storefront-page .ui.button {
		min-height: 44px;
	}
}

/* ==================================================================
   Intervensi warna biru tema (Astra: var --ast-global-color-0/-1 dipakai
   untuk SEMUA button & input:focus, termasuk state hover/focus/active).
   Tombol milik Commerce dipulangkan ke brand per kategori.
   ================================================================== */

/* 1) Tombol terisi brand: hover/focus/active tetap brand */
.sejoli-commerce .sjc-pay-btn:hover, .sejoli-commerce .sjc-pay-btn:focus, .sejoli-commerce .sjc-pay-btn:active,
.sjc-checkout-btn:hover, .sjc-checkout-btn:focus, .sjc-checkout-btn:active,
.sjc-btn-add-cart:hover, .sjc-btn-add-cart:focus, .sjc-btn-add-cart:active,
.sjc-commerce-add:hover, .sjc-commerce-add:focus, .sjc-commerce-add:active,
.sjc-commerce-add-to-cart:hover, .sjc-commerce-add-to-cart:focus, .sjc-commerce-add-to-cart:active,
.sjc-commerce-search-btn:hover, .sjc-commerce-search-btn:focus,
.sjc-buy-now-submit:hover, .sjc-buy-now-submit:focus, .sjc-buy-now-submit:active,
.sjc-buy-now-cart-proceed:hover, .sjc-buy-now-cart-proceed:focus, .sjc-buy-now-cart-proceed:active,
.sjc-filter-drawer-apply:hover, .sjc-filter-drawer-apply:focus {
	background-color: var(--sjc-color-primary, #3eac4d);
	border-color: var(--sjc-color-primary, #3eac4d);
	color: var(--sjc-color-primary-text, #ffffff);
}

/* 2) Tombol Semantic basic/icon di permukaan Commerce: hover transparan +
   aksen brand — bukan fill biru tema */
.sejoli-commerce .ui.basic.button:hover,
.sejoli-commerce .ui.basic.button:focus,
.sejoli-commerce .ui.basic.button:active,
.sejoli-commerce .ui.icon.button:hover,
.sejoli-commerce .ui.icon.button:focus,
.sejoli-commerce .ui.icon.button:active {
	background-color: transparent;
	border-color: var(--sjc-color-primary, #3eac4d);
	color: var(--sjc-color-primary, #3eac4d);
}

/* 3) Tombol utilitas ghost Commerce (toggle ringkasan, bar mobile, tema,
   reset warna admin, dsb.): hover tetap transparan/subtle */
.sjc-summary-toggle:hover, .sjc-summary-toggle:focus, .sjc-summary-toggle:active,
.sjc-bar-btn:hover, .sjc-bar-btn:focus, .sjc-bar-btn:active,
.sjc-menu-btn:hover, .sjc-menu-btn:focus, .sjc-menu-btn:active,
.sjc-theme-btn:hover, .sjc-theme-btn:focus, .sjc-theme-btn:active,
.sjc-color-clear:hover, .sjc-color-clear:focus,
.sjc-search-esc:hover, .sjc-search-esc:focus,
.sjc-toc-btn:hover, .sjc-toc-btn:focus {
	background-color: transparent;
	border-color: transparent;
	color: inherit;
}

/* 4) Tombol accept bump native (di halaman checkout Sejoli, di luar scope
   .sejoli-commerce): hover/focus tetap aksen kartunya */
.sjc-native-bump .sjc-nb-accept:hover,
.sjc-native-bump .sjc-nb-accept:focus,
.sjc-native-bump .sjc-nb-accept:active {
	background-color: var(--sjc-nb-accent, #3eac4d);
	border-color: var(--sjc-nb-accent, #3eac4d);
	color: #ffffff;
}

/* 5) Kontrol form di permukaan Commerce: focus pakai brand, bukan biru tema */
.sejoli-commerce input[type="text"]:focus,
.sejoli-commerce input[type="email"]:focus,
.sejoli-commerce input[type="tel"]:focus,
.sejoli-commerce input[type="password"]:focus,
.sejoli-commerce input[type="search"]:focus,
.sejoli-commerce input[type="url"]:focus,
.sejoli-commerce input[type="number"]:focus,
.sejoli-commerce textarea:focus,
.sejoli-commerce select:focus,
.sjc-checkout-offcanvas input:focus,
.sjc-checkout-offcanvas textarea:focus,
.sjc-checkout-offcanvas select:focus,
.sjc-form-group .select2-container--default.select2-container--focus .select2-selection--single,
.sjc-form-group .select2-container--default .select2-selection--single:focus,
.sjc-form-group .select2-container--open .select2-selection--single {
	border-color: var(--sjc-color-primary, #3eac4d);
	outline-color: var(--sjc-color-primary, #3eac4d);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--sjc-color-primary, #3eac4d) 18%, transparent);
}
