.dz-satc-bar,
.dz-satc-sheet { display: none; }

@media (max-width: 767px) {
	.dz-satc-bar,
	.dz-satc-sheet {
		--dz-ink: #222;
		--dz-text: #2b2b2b;
		--dz-muted: #6b6b6b;
		--dz-line: #e4e4e4;
		--dz-error: #b3261e;
		font-family: inherit;
		color: var(--dz-text);
		-webkit-tap-highlight-color: transparent;
	}
	.dz-satc-bar *,
	.dz-satc-sheet * { box-sizing: border-box; }

	.dz-satc-bar button,
	.dz-satc-sheet button {
		font-family: inherit;
		margin: 0;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
		letter-spacing: normal;
		text-transform: none;
		line-height: 1.2;
		min-height: 0;
		box-shadow: none;
	}

	/* ---------- Bar ---------- */
	.dz-satc-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		align-items: center;
		gap: 10px;
		padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
		background: #fff;
		border-top: 1px solid var(--dz-line);
		transform: translateY(110%);
		transition: transform .25s ease;
		visibility: hidden;
	}
	.dz-satc-bar.is-visible {
		transform: translateY(0);
		visibility: visible;
	}

	.dz-satc-sum {
		flex: 1 1 auto;
		min-width: 0;
		height: 44px;
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 0;
		border: 0;
		background: transparent;
		color: inherit;
		text-align: left;
	}
	.dz-satc-dot {
		flex: 0 0 auto;
		width: 18px;
		height: 18px;
		border-radius: 50%;
		box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
		background-size: cover;
		background-position: center;
	}
	.dz-satc-dot[hidden] { display: none; }
	.dz-satc-txt {
		min-width: 0;
		display: flex;
		flex-direction: column;
	}
	.dz-satc-price {
		font-size: 15px;
		font-weight: 500;
		color: var(--dz-price, #a77d1f);
		white-space: nowrap;
	}
	/* regular price struck through when a quantity discount applies */
	.dz-satc-was {
		font-size: 12px;
		font-weight: 400;
		color: #9a9a9a;
		text-decoration: line-through;
		margin-right: 2px;
	}
	.dz-satc-add .dz-satc-was { color: rgba(255, 255, 255, .6); }

	.dz-satc-sub {
		font-size: 12px;
		color: var(--dz-muted);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.dz-satc-chev {
		flex: 0 0 auto;
		width: 16px;
		height: 16px;
	}

	.dz-satc-cta,
	.dz-satc-add {
		flex: 0 0 auto;
		height: 44px;
		min-width: 140px;
		padding: 0 14px;
		border: 0;
		border-radius: 0;
		background: var(--dz-ink);
		color: #fff;
		font-size: 14px;
	}
	.dz-satc-cta[aria-busy="true"],
	.dz-satc-add[aria-busy="true"] { opacity: .7; }

	/* ---------- Sheet ---------- */
	.dz-satc-sheet {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 100000;
		visibility: hidden;
		pointer-events: none;
	}
	.dz-satc-sheet.is-open {
		visibility: visible;
		pointer-events: auto;
	}
	.dz-satc-backdrop {
		position: absolute;
		inset: 0;
		width: 100%;
		border: 0;
		padding: 0;
		background: rgba(0, 0, 0, .4);
		opacity: 0;
		transition: opacity .25s ease;
	}
	.dz-satc-sheet.is-open .dz-satc-backdrop { opacity: 1; }

	.dz-satc-panel {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		max-height: 88vh;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		border-radius: 14px 14px 0 0;
		padding: 10px 16px calc(18px + env(safe-area-inset-bottom, 0px));
		display: flex;
		flex-direction: column;
		gap: 16px;
		transform: translateY(100%);
		transition: transform .28s ease;
	}
	.dz-satc-sheet.is-open .dz-satc-panel { transform: translateY(0); }

	.dz-satc-handle {
		width: 36px;
		height: 4px;
		border-radius: 2px;
		background: #d6d6d6;
		align-self: center;
	}

	.dz-satc-head {
		display: flex;
		align-items: center;
		gap: 12px;
	}
	.dz-satc-thumb {
		flex: 0 0 auto;
		width: 64px;
		height: 64px;
		object-fit: cover;
		background: #f3f3f1;
	}
	.dz-satc-headtxt {
		flex: 1 1 auto;
		min-width: 0;
	}
	.dz-satc-title {
		font-size: 15px;
		line-height: 1.35;
	}
	.dz-satc-unit {
		font-size: 14px;
		color: var(--dz-price, #a77d1f);
	}
	.dz-satc-close {
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		border: 0;
		padding: 0;
		background: transparent;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--dz-text);
	}

	.dz-satc-attr-label {
		font-size: 13px;
		color: var(--dz-muted);
		margin: 0 0 8px;
	}
	.dz-satc-attr-label.is-missing { color: var(--dz-error); }

	.dz-satc-opts {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}
	.dz-satc-opts.is-text { gap: 8px; }

	/* color + image swatches */
	.dz-satc-sw {
		position: relative;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 0;
		background: transparent;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.dz-satc-sw-in {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
		background-size: cover;
		background-position: center;
	}
	.dz-satc-sw[aria-pressed="true"] .dz-satc-sw-in {
		box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--dz-ink);
	}
	.dz-satc-sw[aria-disabled="true"] { opacity: .4; }
	.dz-satc-sw[aria-disabled="true"]::after {
		content: "";
		position: absolute;
		width: 40px;
		height: 2px;
		background: var(--dz-muted);
		transform: rotate(-45deg);
	}

	/* text options */
	.dz-satc-pill {
		min-height: 48px;
		min-width: 64px;
		padding: 6px 14px;
		background: #fff;
		border: 1px solid #d6d6d6;
		border-radius: 0;
		color: var(--dz-text);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		font-size: 14px;
	}
	.dz-satc-pill[aria-pressed="true"] {
		border: 2px solid var(--dz-ink);
		padding: 5px 13px;
	}
	.dz-satc-pill[aria-disabled="true"] { color: #9a9a9a; }
	.dz-satc-pill[aria-disabled="true"] .dz-satc-pill-l { text-decoration: line-through; }
	.dz-satc-pill-n {
		font-size: 11px;
		color: var(--dz-muted);
	}

	.dz-satc-hint {
		font-size: 12px;
		color: var(--dz-error);
		margin-top: -6px;
	}
	.dz-satc-hint[hidden] { display: none; }

	.dz-satc-foot {
		display: flex;
		gap: 10px;
	}
	.dz-satc-qty {
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		border: 1px solid #d6d6d6;
	}
	.dz-satc-qty button {
		width: 44px;
		height: 48px;
		border: 0;
		padding: 0;
		background: transparent;
		color: var(--dz-text);
		font-size: 18px;
	}
	.dz-satc-qty button:disabled { color: #c4c4c4; cursor: default; }
	.dz-satc-qty output {
		min-width: 24px;
		text-align: center;
		font-size: 15px;
	}
	.dz-satc-add {
		flex: 1 1 auto;
		min-width: 0;
		height: 50px;
		font-size: 15px;
	}

	.dz-satc-bar button:focus-visible,
	.dz-satc-sheet button:focus-visible {
		outline: 2px solid var(--dz-ink);
		outline-offset: 2px;
	}

	@media (prefers-reduced-motion: reduce) {
		.dz-satc-bar,
		.dz-satc-panel,
		.dz-satc-backdrop { transition: none; }
	}
}
