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

.dw-sejoli-commerce {
	/* No-op placeholder: ensures scope anchor */
}

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

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

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

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

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

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

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

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

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

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

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

/* Product detail editorial mode */
.dw-sj-editorial {
	--dw-sj-text: #111;
	--dw-sj-muted: #666;
	--dw-sj-border: #eee;
	--dw-sj-bg: #fff;
	--dw-sj-bg-soft: #f6f6f6;
	--dw-sj-accent: #2185d0;
	--dw-sj-dark: #000;
	color: var(--dw-sj-text);
	background: var(--dw-sj-bg);
}

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

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

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

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

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

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

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

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

.dw-sj-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(--dw-sj-dark);
	color: #fff;
	margin-left: 4px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dw-sj-editorial-accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	border: 1px solid var(--dw-sj-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;
}

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

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

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

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

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

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

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

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

.dw-sj-editorial-floating-cta {
	display: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dw-sj-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(--dw-sj-border);
	border-radius: 10px;
	background: #fff;
	padding: 13px;
	cursor: pointer;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dw-sj-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(--dw-sj-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dw-sj-you-may-like-item {
	border: 1px solid var(--dw-sj-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;
}

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

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

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

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

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

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

body.dw-sj-offcanvas-open {
	overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Pagination (catalog shortcode) */
.dw-sejoli-commerce .dw-sj-commerce-pagination,
.dw-sejoli-commerce .dw-sj-commerce-page {
	/* leave most styling to Semantic UI */
}

/* Reference storefront surfaces */
.dw-sejoli-commerce {
	--dw-ref-bg: #f8f8f8;
	--dw-ref-surface: #ffffff;
	--dw-ref-text: #111111;
	--dw-ref-muted: #767676;
	--dw-ref-border: #e5e5e5;
	--dw-ref-primary: #111111;
	--dw-ref-accent: #2563eb;
	--dw-ref-success: #10b981;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--dw-ref-text);
	background: var(--dw-ref-bg);
}

.dw-sj-store-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

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

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

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

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

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

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

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

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

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

.dw-sj-nav-cart-toggle .dw-sj-nav-cart-badge {
	display: none !important;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: #111;
	color: #fff !important;
	font-size: 12px !important;
	line-height: 1 !important;
	font-weight: 700 !important;
}

/* Fallback if theme hides nested spans in menu links */
.dw-sj-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: 999px;
	background: #111;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
}


.dw-sj-catalog-header {
	padding: 72px 0 58px;
	text-align: center;
	background: linear-gradient(180deg, #fff 0%, #f4f4f4 100%);
}

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

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

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

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

.dw-sj-catalog.is-embedded {
	background: transparent;
}

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

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

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

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

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

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

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

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

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

.dw-sj-catalog-toolbar input,
.dw-sj-catalog-toolbar select,
.dw-sj-catalog-toolbar button,
.dw-sj-form-group input {
	width: 100%;
	border: 1px solid var(--dw-ref-border);
	border-radius: 8px;
	background: #fff;
	padding: 13px 14px;
	font-size: 0.95rem;
}

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

.dw-sj-catalog-toolbar button {
	background: var(--dw-ref-primary);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

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

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

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

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

.dw-sj-product-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--dw-ref-border);
	border-radius: 12px;
	background: var(--dw-ref-surface);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dw-sj-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 35px rgba(17, 17, 17, 0.08);
}

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

.dw-sj-product-image-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	background: #eeeeee;
	overflow: hidden;
}

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

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

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

.dw-sj-product-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border-radius: 999px;
	background: #fff;
	font-size: 2rem;
	font-weight: 800;
	color: #111;
}

.dw-sj-product-info {
	padding: 18px;
}

.dw-sj-product-info h3 {
	margin: 0 0 12px;
	font-size: 1.04rem;
	line-height: 1.35;
	font-weight: 800;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dw-sj-showcase-prev,
.dw-sj-showcase-next,
.dw-sj-cart-shortcode-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: var(--dw-ref-radius-input, 8px);
	background: var(--dw-ref-primary);
	color: var(--dw-ref-primary-text, #fff);
	font-weight: 800;
	cursor: pointer;
}

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

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

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

.dw-sj-btn-add-cart,
.dw-sj-checkout-btn,
.dw-sj-pay-btn {
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: var(--dw-ref-primary);
	color: #fff;
	padding: 14px 18px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.dw-sj-btn-add-cart:hover,
.dw-sj-checkout-btn:hover,
.dw-sj-pay-btn:hover {
	opacity: 0.88;
	color: #fff;
}

.dw-sj-btn-add-cart.is-loading,
.dw-sj-pay-btn.is-loading,
.dw-sj-cart-item.is-updating {
	opacity: 0.62;
	pointer-events: none;
}

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

.dw-sj-reference-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--dw-ref-border);
	border-radius: 8px;
	color: var(--dw-ref-text);
	text-decoration: none;
	font-weight: 800;
}

.dw-sj-reference-pagination a.is-active {
	background: #111;
	color: #fff;
}

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

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

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

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

.dw-sj-cart {
	background: transparent;
}

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

.dw-sj-shipping-progress-container {
	margin-bottom: 24px;
	border-radius: 12px;
	background: #fff;
	padding: 18px 20px;
	border: 1px solid var(--dw-ref-border);
}

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

.dw-sj-progress-bar-bg {
	overflow: hidden;
	height: 8px;
	border-radius: 999px;
	background: #eeeeee;
}

.dw-sj-progress-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: var(--dw-ref-success);
}

.dw-sj-cart-layout,
.dw-sj-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
}

.dw-sj-cart-items-section,
.dw-sj-section-card,
.dw-sj-summary-card {
	border: 1px solid var(--dw-ref-border);
	border-radius: 12px;
	background: var(--dw-ref-surface);
	box-shadow: 0 8px 28px rgba(17, 17, 17, 0.04);
}

.dw-sj-cart-table-header,
.dw-sj-cart-item {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) 120px 140px 120px;
	gap: 16px;
	align-items: center;
}

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

.dw-sj-cart-item {
	padding: 22px 20px;
	border-bottom: 1px solid var(--dw-ref-border);
}

.dw-sj-cart-item.is-fixed-qty .dw-sj-qty-selector {
	opacity: 0.62;
}

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

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

.dw-sj-item-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	flex: 0 0 82px;
	border-radius: 10px;
	overflow: hidden;
	background: #eeeeee;
}

.dw-sj-item-details h3 {
	margin: 0 0 5px;
	font-size: 1rem;
	font-weight: 800;
}

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

.dw-sj-cart-line-discount {
	display: none;
	margin: -2px 0 8px;
	color: #16a34a;
	font-size: 0.86rem;
	line-height: 1.35;
	font-weight: 600;
}

.dw-sj-remove-item {
	border: 0;
	background: transparent;
	color: #dc2626;
	padding: 0;
	font-weight: 700;
	cursor: pointer;
}

.dw-sj-item-price {
	font-weight: 800;
}

.dw-sj-qty-selector {
	display: inline-flex;
	align-items: center;
	width: max-content;
	border: 1px solid var(--dw-ref-border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}

.dw-sj-qty-btn {
	width: 36px;
	height: 36px;
	border: 0;
	background: #f5f5f5;
	font-weight: 900;
	cursor: pointer;
	color: #111111;
	padding: 0;
}

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

.dw-sj-qty-input {
	width: 46px;
	height: 36px;
	border: 0;
	text-align: center;
	font-weight: 800;
	background: #fff;
	padding: 0!important;
	-moz-appearance: textfield;
	appearance: textfield;
}

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

.dw-sj-summary-card {
	padding: 24px;
}

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

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

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

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

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

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

.dw-sj-trust-badges span {
	border-radius: 999px;
	background: #f3f4f6;
	padding: 6px 9px;
}

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

.dw-sj-coupon-pill {
	border: 1px solid #86efac;
	background: #ecfdf3;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #16a34a;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: .15s ease;
}

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

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

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

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

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

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

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

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

.dw-sj-inline-input {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.dw-sj-inline-input input {
	min-width: 0;
}

.dw-sj-inline-input .dw-sj-apply-coupon-btn {
	border: 1px solid var(--dw-ref-border);
	background: var(--dw-ref-primary);
	color: #fff;
	border-radius: 8px;
	padding: 10px 14px;
	font-weight: 700;
	cursor: pointer;
}

.dw-sj-inline-input .dw-sj-apply-coupon-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.dw-sj-customer-card {
	display: grid;
	gap: 6px;
	border: 1px solid var(--dw-ref-border);
	border-radius: 10px;
	background: #fafafa;
	padding: 16px;
}

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

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

.dw-sj-option-card {
	position: relative;
	display: grid;
	gap: 6px;
	min-height: 84px;
	border: 1px solid var(--dw-ref-border);
	border-radius: 10px;
	background: #fff;
	padding: 14px 16px 14px 46px;
	cursor: pointer;
}

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

.dw-sj-option-card.active {
	border-color: #ef4444;
	box-shadow: 0 0 0 1px #ef4444 inset;
}

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

.dw-sj-option-title {
	font-weight: 900;
}

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

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

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

.dw-sj-submit-status,
.dw-sj-cart-status {
	margin: 12px 0 0;
	color: #b91c1c;
	font-weight: 800;
}

.dw-sj-empty-state {
	border: 1px solid var(--dw-ref-border);
	border-radius: 12px;
	background: #fff;
	padding: 42px 24px;
	text-align: center;
}

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

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

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

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

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

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

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

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

@media (max-width: 720px) {
	.dw-sj-store-nav-links,
	.dw-sj-catalog-sidebar,
	.dw-sj-cart-table-header {
		display: none;
	}

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

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

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

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

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

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

	.dw-sj-keep-shopping,
	.dw-sj-back-link {
		display: inline-block;
		margin-top: 12px;
	}

	.dw-sj-cart-item {
		grid-template-columns: 1fr;
	}

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

/* ============================================================
   Thankyou page — receipt-style order summary
   Scoped under .dw-sj-commerce-thankyou
   ============================================================ */

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ── Expandable child rows (parent order detail) ─────────────── */
.dwsc-expandable-row {
	cursor: pointer;
	transition: background 0.15s ease;
}
.dwsc-expandable-row:hover {
	background: #f8f9fa;
}
.dwsc-expandable-row.is-open {
	background: #f0f4f8;
}
.dwsc-expand-toggle {
	position: relative;
	padding-left: 28px !important;
}
.dwsc-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;
}
.dwsc-expandable-row.is-open .dwsc-expand-icon {
	transform: translateY(-50%) rotate(90deg);
	border-left-color: #1678c2;
}
.dwsc-expand-detail {
	display: none;
}
.dwsc-expand-detail.is-open {
	display: table-row;
}
.dwsc-expand-detail td {
	padding: 0 !important;
	background: #f7f9fb;
	border-top: none !important;
}
.dwsc-expand-inner {
	padding: 14px 20px 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-start;
}
.dwsc-expand-inner .dwsc-muted {
	margin-left: 8px;
}

/* ── Product Meta blocks (shared: cards & expandable) ─────── */
.dwsc-product-meta-card {
	background: #f7f9fb;
	border-radius: 8px;
	padding: 14px 18px;
}
.dwsc-pm-block {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
}
.dwsc-pm-block + .dwsc-pm-block {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e8ecf0;
}
.dwsc-pm-label {
	font-weight: 600;
	font-size: 13px;
	color: #555;
	white-space: nowrap;
}
.dwsc-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;
}
.dwsc-pm-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}
.dwsc-pm-list li {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.dwsc-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;
}
.dwsc-pm-activated {
	font-size: 11px;
}
.dwsc-pm-access,
.dwsc-pm-coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

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

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

		/* ── Bump Offer Cards (checkout) ─────────────────────────── */
		.dw-sj-bump-section {
			margin-top: 4px;
			border: 2px dashed var(--dw-ref-border, #e2e8f0);
			background: linear-gradient(135deg, #fffdf5 0%, #fff8e1 100%);
		}
		.dw-sj-bump-section .dw-sj-section-title {
			margin-bottom: 12px;
		}
		.dw-sj-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;
		}
		.dw-sj-bump-card {
			padding: 16px;
			border: 1px solid #e2e8f0;
			border-radius: 12px;
			background: #fff;
			transition: border-color 0.2s, box-shadow 0.2s;
		}
		.dw-sj-bump-card + .dw-sj-bump-card {
			margin-top: 12px;
		}
		.dw-sj-bump-card:hover {
			border-color: #f59e0b;
			box-shadow: 0 2px 8px rgba(245,158,11,0.12);
		}
		.dw-sj-bump-card.is-accepted {
			border-color: #16a34a;
			background: #f0fdf4;
		}
		.dw-sj-bump-card.is-accepted .dw-sj-bump-accept-btn {
			background: #16a34a;
			border-color: #16a34a;
			color: #fff;
			cursor: default;
		}

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

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

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

		.dw-sj-bump-info {
			min-width: 0;
		}

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

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

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

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

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

		.dw-sj-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: all 0.2s;
			text-align: center;
		}
		.dw-sj-bump-accept-btn:hover {
			background: #f59e0b;
			color: #fff;
		}
		.dw-sj-bump-accept-btn.is-added {
			background: #16a34a;
			border-color: #16a34a;
			color: #fff;
			cursor: default;
		}

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

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

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