/* Print93 DTF calculator */
.p93dtf {
	--p93-y: #ffea01;
	--p93-y2: #f2d900;
	--p93-red: #e3120f;
	--p93-red2: #c40d0b;
	--p93-ink: #111214;
	--p93-ink2: #3b3e45;
	--p93-mut: #6b7079;
	--p93-line: #e7e8ec;
	--p93-soft: #f5f6f8;
	--p93-green: #12a150;
	--p93-r: 16px;
	--p93-shadow: 0 1px 2px rgba(16, 18, 22, .04), 0 8px 24px rgba(16, 18, 22, .06);
	color: var(--p93-ink);
	font-size: 15px;
	line-height: 1.45;
	margin: 0 auto;
	max-width: 1560px;
	-webkit-font-smoothing: antialiased;
}
.p93dtf *, .p93dtf *::before, .p93dtf *::after { box-sizing: border-box; }
.p93dtf svg { display: block; flex: none; }
.p93dtf [hidden] { display: none !important; }

/* neutralise theme button/input styles */
.p93dtf button, .p93dtf .p93-btn {
	font: inherit; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.2;
	min-height: 0; height: auto; margin: 0; box-shadow: none; cursor: pointer; text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.p93dtf button:disabled { cursor: not-allowed; }
.p93dtf input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.p93dtf input[type=number]::-webkit-inner-spin-button, .p93dtf input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.p93dtf h2, .p93dtf h3, .p93dtf h4 { margin: 0; color: var(--p93-ink); text-transform: none; letter-spacing: -.01em; }

/* ---------- header ---------- */
.p93-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title badges" "steps steps"; align-items: center; gap: 22px 32px; padding: 6px 4px 26px; }
.p93-title { grid-area: title; }
.p93-title h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 900; line-height: 1.05; }
.p93-hl { background: linear-gradient(transparent 58%, var(--p93-y) 58%, var(--p93-y) 92%, transparent 92%); padding: 0 2px; }
.p93-title p { margin: 8px 0 0; color: var(--p93-ink2); font-size: 18px; }
.p93-hero { position: relative; overflow: hidden; isolation: isolate; container-type: size; min-height: 200px; border-radius: var(--p93-r); background: #111 var(--p93-poster) center / cover no-repeat; box-shadow: var(--p93-shadow); display: flex; align-items: flex-end; }
.p93-hero-v { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.2s; }
.p93-hero-v.is-on { opacity: 1; }
.p93-hero-v iframe { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh); transform: translate(-50%, -50%) scale(1.15); border: 0; pointer-events: none; }
.p93-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 12, .88) 0%, rgba(10, 10, 12, .6) 55%, rgba(10, 10, 12, .2) 100%); }
.p93-hero-c { padding: 24px 28px; }
.p93dtf .p93-hero h2 { color: #fff; }
.p93-hero .p93-hl { color: #111; background: var(--p93-y); padding: 0 8px; border-radius: 6px; }
.p93dtf .p93-hero p { color: rgba(255, 255, 255, .88); }
.p93-hero-k { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(4px); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.p93-hero-k i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255, 59, 48, .7); animation: p93-live 1.6s ease-out infinite; }
@keyframes p93-live { 70% { box-shadow: 0 0 0 7px rgba(255, 59, 48, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); } }
@media (max-width: 640px) { .p93-hero { min-height: 170px; } .p93-hero-c { padding: 18px; } .p93-hero::after { background: linear-gradient(0deg, rgba(10, 10, 12, .9) 0%, rgba(10, 10, 12, .45) 100%); } }
@media (prefers-reduced-motion: reduce) { .p93-hero-v { display: none; } }
.p93-steps { grid-area: steps; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 16px 10px; gap: 0; background: #fff; border: 1px solid var(--p93-line); border-radius: var(--p93-r); box-shadow: var(--p93-shadow); }
.p93-steps li { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; font-size: 16px; line-height: 1.2; text-align: center; color: var(--p93-ink2); font-weight: 700; margin: 0; }
.p93-steps li::before { content: ""; position: absolute; top: 21px; left: calc(-50% + 30px); width: calc(100% - 60px); height: 3px; border-radius: 3px; background: var(--p93-line); }
.p93-steps li:first-child::before { display: none; }
.p93-steps b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eceef1; color: var(--p93-ink); font-size: 18px; font-weight: 900; position: relative; z-index: 1; transition: .2s; }
.p93-steps li.is-active b, .p93-steps li.is-done b { background: var(--p93-y); box-shadow: 0 0 0 6px rgba(255, 225, 0, .25); }
.p93-steps li.is-active, .p93-steps li.is-done { color: var(--p93-ink); }
.p93-steps li.is-done + li::before, .p93-steps li.is-active::before { background: var(--p93-y); }
.p93-badges { grid-area: badges; display: flex; flex-direction: column; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.p93-badges li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 18px 10px 10px; background: #fff; border: 1px solid var(--p93-line); border-radius: 999px; box-shadow: var(--p93-shadow); white-space: nowrap; transition: transform .25s, box-shadow .25s; }
.p93-badges li:hover { transform: translateY(-2px); }
.p93-badges i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 225, 0, .18); flex: none; }
.p93-badges svg { width: 30px; height: 30px; }
.p93-badges span { display: flex; flex-direction: column; gap: 2px; }
.p93-badges strong { font-size: 15.5px; font-weight: 800; line-height: 1.15; color: var(--p93-ink); }
.p93-badges small { font-size: 15px; line-height: 1.2; color: var(--p93-ink2); }

/* ---------- grid + cards ---------- */
.p93-grid { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr) minmax(290px, 340px); gap: 18px; align-items: start; }
.p93-card { background: #fff; border: 1px solid var(--p93-line); border-radius: var(--p93-r); box-shadow: var(--p93-shadow); padding: 18px; min-width: 0; }
.p93-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.p93-card-h h3 { font-size: 20px; font-weight: 800; flex: 1; }
.p93-card-h h3 span { font-weight: 800; }
.p93-num { width: 38px; height: 38px; border-radius: 50%; background: var(--p93-y); display: grid; place-items: center; font-weight: 900; font-size: 19px; flex: none; }
.p93-num-dark { background: var(--p93-ink); color: #fff; }
.p93dtf .p93-link { background: none; border: 0; padding: 0; color: var(--p93-ink2); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; font-weight: 500; }
.p93dtf .p93-link:hover { color: var(--p93-ink); }

/* ---------- buttons ---------- */
.p93dtf .p93-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; padding: 11px 18px; background: var(--p93-soft); color: var(--p93-ink); transition: transform .12s, background .15s, box-shadow .15s; }
.p93dtf .p93-btn svg { width: 20px; height: 20px; }
.p93dtf .p93-btn-y { background: var(--p93-y); color: var(--p93-ink); box-shadow: 0 2px 0 var(--p93-y2) inset, 0 6px 16px rgba(255, 210, 0, .35); }
.p93dtf .p93-btn-y:hover { background: #ffe94d; }
.p93dtf .p93-btn-y:active { transform: translateY(1px); }
.p93dtf .p93-btn-lg { padding: 14px 26px; font-size: 17px; font-weight: 800; }
.p93dtf .p93-btn-xl { padding: 17px 22px; font-size: 18px; font-weight: 800; border-radius: 12px; }
.p93dtf .p93-btn-block { width: 100%; }
.p93dtf .p93-btn-ghost { background: #fff; border: 1px solid var(--p93-line); }
.p93dtf .p93-btn-ghost:hover { border-color: #c9ccd2; }
.p93dtf .p93-btn:disabled { background: #eceef1; color: #9a9ea6; box-shadow: none; }
.p93dtf .p93-btn.is-busy { pointer-events: none; opacity: .75; }
.p93dtf .p93-btn.is-busy span::after { content: "…"; }

/* ---------- upload column ---------- */
.p93-drop { border: 2px dashed #cfd2d8; border-radius: 14px; padding: 26px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; background: #fcfcfd; outline: none; }
.p93-drop:hover, .p93-drop:focus-visible, .p93-drop.is-over { border-color: var(--p93-ink); background: #fffbe0; }
.p93-drop-ico svg { width: 56px; height: 56px; margin-bottom: 6px; }
.p93-drop strong { font-size: 16px; font-weight: 700; }
.p93-drop > span:not(.p93-btn):not(.p93-drop-ico) { color: var(--p93-ink2); }
.p93-drop .p93-btn { margin: 14px 0 10px; pointer-events: none; }
.p93-drop small { color: var(--p93-mut); font-size: 15px; }
.p93-drop.is-compact { flex-direction: row; flex-wrap: wrap; justify-content: center; padding: 14px; gap: 2px 10px; }
.p93-drop.is-compact .p93-drop-ico svg { width: 30px; height: 30px; margin: 0; }
.p93-drop.is-compact > span:not(.p93-btn):not(.p93-drop-ico), .p93-drop.is-compact small { display: none; }
.p93-drop.is-compact .p93-btn { margin: 0; padding: 9px 16px; font-size: 15px; }
.p93dtf .p93-req-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; margin: 12px auto 0; color: var(--p93-ink); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; width: 100%; justify-content: center; }
.p93dtf .p93-req-toggle svg { width: 16px; height: 16px; }
.p93-req { background: var(--p93-soft); border-radius: 10px; padding: 12px 14px; margin-top: 10px; font-size: 15px; color: var(--p93-ink2); }
.p93-req ul { margin: 0; padding-left: 18px; }
.p93-req li { margin: 3px 0; }

.p93-files { list-style: none; margin: 14px 0 0; padding: 0; max-height: 640px; overflow: auto; }
.p93-f { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 32px; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--p93-line); margin: 0; cursor: pointer; }
.p93-f:last-child { border-bottom: 0; }
.p93-f-th { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--p93-line); display: grid; place-items: center; overflow: hidden; background: #fff repeating-conic-gradient(#f1f2f4 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.p93-f-th img { max-width: 100%; max-height: 100%; object-fit: contain; }
.p93-f-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.p93-f-meta b { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p93-f-meta small { color: var(--p93-mut); font-size: 14.5px; }
.p93-f-meta .p93-warn { color: #a15c00; }
.p93-f-meta .p93-warn::before { content: "⚠ "; }
.p93-f-meta .p93-err { color: var(--p93-red); }
.p93-f.is-err .p93-f-th { border-color: #f3c4c0; background: #fff5f4; }
.p93-f.is-err { grid-template-columns: 64px minmax(0, 1fr) 32px; }
.p93-f.is-up { grid-template-columns: 64px minmax(0, 1fr) 32px; }
.p93-bar { display: block; height: 5px; border-radius: 4px; background: #eceef1; overflow: hidden; margin-top: 4px; }
.p93-bar i { display: block; height: 100%; background: var(--p93-y); border-radius: 4px; width: 0; transition: width .2s; }
.p93dtf .p93-f-del { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; color: var(--p93-mut); display: grid; place-items: center; padding: 0; }
.p93dtf .p93-f-del:hover { background: #fdecea; color: var(--p93-red); }
.p93dtf .p93-f-del svg { width: 19px; height: 19px; }

.p93-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--p93-line); border-radius: 10px; overflow: hidden; background: #fff; }
.p93dtf .p93-stepper button { width: 44px; border: 0; background: #fff; font-size: 20px; font-weight: 500; color: var(--p93-ink); padding: 0; }
.p93dtf .p93-stepper button:hover { background: var(--p93-soft); }
.p93dtf .p93-stepper input { width: 64px; border: 0; border-left: 1px solid var(--p93-line); border-right: 1px solid var(--p93-line); text-align: center; font-size: 17px; font-weight: 600; padding: 10px 2px; margin: 0; height: auto; min-height: 0; background: #fff; color: var(--p93-ink); box-shadow: none; border-radius: 0; }
.p93dtf .p93-stepper-sm button { width: 32px; font-size: 17px; }
.p93dtf .p93-stepper-sm input { width: 40px; font-size: 15.5px; padding: 6px 2px; }

/* ---------- editor column ---------- */
.p93-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.p93dtf .p93-tb { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--p93-line); background: #fff; color: var(--p93-ink); border-radius: 9px; padding: 8px 11px; font-size: 15px; font-weight: 600; transition: background .15s, border-color .15s; }
.p93dtf .p93-tb svg { width: 18px; height: 18px; }
.p93dtf .p93-tb:hover:not(:disabled) { border-color: #c5c8ce; background: var(--p93-soft); }
.p93dtf .p93-tb:disabled { opacity: .45; }
.p93dtf .p93-tb-y { background: var(--p93-y); border-color: var(--p93-y); }
.p93dtf .p93-tb-y:hover:not(:disabled) { background: #ffe94d; border-color: #ffe94d; }
.p93dtf .p93-tb-del { color: var(--p93-red); }
.p93dtf .p93-tb-ico { padding: 8px; }
.p93-tb-group { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--p93-line); border-radius: 9px; padding: 0 8px 0 0; margin-left: auto; }
.p93dtf .p93-tb-group .p93-tb { border: 0; }
.p93-zoom { font-size: 15px; font-weight: 600; min-width: 42px; text-align: right; }

.p93-stage { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 14px; }
.p93-ws { position: relative; height: clamp(460px, 70vh, 720px); overflow-y: auto; overflow-x: hidden; scrollbar-gutter: stable; background: #c3c7cc linear-gradient(180deg, #c9cdd2, #b8bcc2); border-radius: 12px; outline: none; overscroll-behavior: contain; scrollbar-width: thin; }
.p93-ws:focus-visible { box-shadow: 0 0 0 3px rgba(255, 225, 0, .7); }
.p93-ws-inner { position: relative; margin: 0 auto; padding: 46px 34px 30px; }
.p93-dim-top { position: absolute; top: 12px; left: 34px; right: 34px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--p93-ink); white-space: nowrap; }
.p93-dim-top b { font-size: 15px; font-weight: 800; }
.p93-dim-top small { font-size: 13px; color: var(--p93-ink2); }
.p93-dim-top i { flex: 1; height: 1px; background: var(--p93-ink); position: relative; }
.p93-dim-top i:first-child::before, .p93-dim-top i:last-child::after { content: ""; position: absolute; top: -4px; border: 4.5px solid transparent; }
.p93-dim-top i:first-child::before { left: -2px; border-right: 7px solid var(--p93-ink); border-left: 0; }
.p93-dim-top i:last-child::after { right: -2px; border-left: 7px solid var(--p93-ink); border-right: 0; }
.p93-roll { height: 18px; margin: 0 -10px; border-radius: 9px; background: linear-gradient(180deg, #fff 0%, #eef0f2 45%, #c9ccd1 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, .18); position: relative; z-index: 2; }
.p93-roll::before, .p93-roll::after { content: ""; position: absolute; top: 2px; width: 7px; height: 14px; border-radius: 3px; background: #3a3d42; }
.p93-roll::before { left: -5px; } .p93-roll::after { right: -5px; }
.p93-roll-b { margin-top: -2px; }
.p93-film { position: relative; background: #fff; margin: -6px auto 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y; }
.p93-film::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--p93-tick, 40px) - 1px), rgba(17, 18, 20, .06) calc(var(--p93-tick, 40px) - 1px), rgba(17, 18, 20, .06) var(--p93-tick, 40px)); }
.p93-film::after { content: ""; position: absolute; inset: var(--p93-margin, 2px); border: 1px dashed rgba(17, 18, 20, .12); pointer-events: none; }
.p93-ruler { position: absolute; left: -30px; top: 0; bottom: 0; width: 26px; pointer-events: none; }
.p93-ruler span { position: absolute; right: 0; transform: translateY(-50%); font-size: 12px; color: #4a4e55; font-weight: 600; }
.p93-film-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #9aa0a8; font-size: 15.5px; text-align: center; padding: 20px; }
.p93-film-empty svg { width: 46px; height: 46px; }
.p93-dim-side { position: absolute; right: 6px; top: 64px; width: 22px; border-left: 1px solid var(--p93-ink); display: flex; align-items: center; justify-content: center; }
.p93-dim-side::before, .p93-dim-side::after { content: ""; position: absolute; left: -5px; border: 4.5px solid transparent; }
.p93-dim-side::before { top: -2px; border-bottom: 7px solid var(--p93-ink); border-top: 0; }
.p93-dim-side::after { bottom: -2px; border-top: 7px solid var(--p93-ink); border-bottom: 0; }
.p93-dim-side b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 15.5px; font-weight: 800; background: #c3c7cc; padding: 6px 0; margin-left: -12px; white-space: nowrap; position: sticky; top: 50%; }

.p93-it { position: absolute; touch-action: none; cursor: grab; outline: 1px dashed transparent; transition: outline-color .12s; }
.p93-it:hover { outline-color: rgba(17, 18, 20, .35); }
.p93-it.is-hl { outline: 2px solid rgba(255, 200, 0, .9); }
.p93-it.is-sel { outline: 2px solid var(--p93-ink); box-shadow: 0 0 0 4px rgba(255, 225, 0, .55); z-index: 3; }
.p93-it.is-drag { cursor: grabbing; z-index: 4; opacity: .92; }
.p93-it.is-bad { outline: 2px solid var(--p93-red); background: rgba(217, 45, 32, .08); }
.p93-it-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.p93-it-in img { width: 100%; height: 100%; display: block; object-fit: fill; }
.p93-it-in span { display: grid; place-items: center; width: 100%; height: 100%; background: #eef0f3; font-size: 12px; color: #555; overflow: hidden; text-align: center; }

.p93-mini { background: var(--p93-soft); border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.p93-mini h4 { font-size: 14.5px; font-weight: 700; text-align: center; margin-bottom: 10px; }
.p93-mini-box { position: relative; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); cursor: pointer; touch-action: none; }
.p93-mini-box canvas { display: block; }
.p93-mini-view { position: absolute; left: -4px; right: -4px; border: 2px solid var(--p93-y2); background: rgba(255, 225, 0, .18); border-radius: 3px; pointer-events: none; }
.p93-mini-meta { display: flex; flex-direction: column; align-items: center; margin-top: 10px; font-size: 14px; color: var(--p93-mut); }
.p93-mini-meta b { font-size: 15px; color: var(--p93-ink); font-weight: 800; }
.p93-mini-nav { display: flex; gap: 6px; margin-top: 10px; }
.p93dtf .p93-mini-nav button { width: 40px; height: 34px; border: 1px solid var(--p93-line); background: #fff; border-radius: 8px; display: grid; place-items: center; padding: 0; color: var(--p93-ink); }
.p93dtf .p93-mini-nav button:hover { background: var(--p93-y); border-color: var(--p93-y); }
.p93dtf .p93-mini-nav svg { width: 18px; height: 18px; }

.p93-status { min-height: 22px; margin-top: 12px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.p93-st-ok { color: var(--p93-green); font-weight: 600; }
.p93-st-err { color: var(--p93-red); font-weight: 600; }
.p93-hint { margin: 6px 0 0; font-size: 14px; color: var(--p93-mut); }
.p93-hint b { display: inline-block; min-width: 18px; padding: 0 4px; border: 1px solid var(--p93-line); border-radius: 4px; text-align: center; font-size: 13px; color: var(--p93-ink2); background: #fff; }

.p93-col-editor.p93-is-full { position: fixed; inset: 0; z-index: 100000; border-radius: 0; margin: 0; display: flex; flex-direction: column; }
.p93-col-editor.p93-is-full .p93-stage { flex: 1; min-height: 0; }
.p93-col-editor.p93-is-full .p93-ws { height: 100%; }
html.p93-noscroll, html.p93-noscroll body { overflow: hidden !important; }

/* ---------- order column ---------- */
.p93-col-order { position: sticky; top: 90px; }
.p93-box { position: relative; background: var(--p93-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 3px; }
.p93-lbl { font-size: 16px; color: var(--p93-ink2); }
.p93-lbl small { font-size: 14px; color: var(--p93-mut); }
.p93-big { font-size: 34px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.p93-sub { font-size: 15px; color: var(--p93-ink2); }
.p93-muted { color: var(--p93-mut); }
.p93-note { font-size: 14.5px; color: #8a5a00; background: #fff6d6; border-radius: 7px; padding: 5px 8px; margin-top: 6px; }
.p93-rollico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #555 0 5px, #fff 6px 12px, #e7e9ec 13px 15px, #fff 16px); box-shadow: 0 3px 10px rgba(0, 0, 0, .15), inset 0 0 0 1px #e3e5e8; }
.p93-qty { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 12px; }
.p93-qty .p93-stepper { width: 100%; }
.p93-qty .p93-stepper input { flex: 1; }
.p93dtf .p93-qty .p93-stepper button { width: 56px; }
.p93-total { font-size: 15px; margin-bottom: 12px; color: var(--p93-ink); background: #fffbe0; border-radius: 10px; padding: 9px 12px; }
.p93-total span { color: var(--p93-mut); }
.p93-msg { margin-top: 10px; border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.p93-msg.is-err { background: #fdecea; color: #a1231a; }
.p93-msg.is-ok { background: #e7f7ee; color: #0b6b35; }
.p93-feats { margin-top: 18px; background: #fff; border: 1px solid var(--p93-line); border-radius: var(--p93-r); box-shadow: var(--p93-shadow); padding: 18px; }
.p93dtf .p93-feats-h { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--p93-mut); margin: 0 0 12px 2px; }
.p93-feats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p93-feats li { position: relative; margin: 0; padding: 18px 20px; border-radius: 12px; background: var(--p93-soft); display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 3px; align-items: center; overflow: hidden; transition: transform .15s, box-shadow .15s, background .15s; }
.p93-feats li::after { content: ""; position: absolute; right: -18px; top: -18px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 225, 0, .22); pointer-events: none; }
.p93-feats li:hover { background: #fff; box-shadow: 0 6px 18px rgba(16, 18, 22, .08), inset 0 0 0 1px var(--p93-line); transform: translateY(-1px); }
.p93-fi { grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 11px; background: var(--p93-y); display: grid; place-items: center; box-shadow: 0 3px 8px rgba(255, 200, 0, .35); position: relative; z-index: 1; }
.p93-fi svg { width: 24px; height: 24px; color: var(--p93-ink); }
.p93-feats b { font-size: 17px; font-weight: 800; color: var(--p93-ink); line-height: 1.2; align-self: end; }
.p93-feats small { font-size: 15px; color: var(--p93-ink2); line-height: 1.35; align-self: start; }
.p93-feats small .woocommerce-Price-amount { color: var(--p93-ink2); font-weight: 600; }
@media (max-width: 1280px) { .p93-feats ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.p93-feats { padding: 14px; margin-top: 14px; }
	.p93-feats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.p93-feats li { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; align-content: start; align-items: start; padding: 12px; }
	.p93-feats b, .p93-feats small { align-self: start; }
	.p93-fi { grid-row: auto; width: 34px; height: 34px; margin-bottom: 8px; }
}
.p93-help { display: flex; gap: 14px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--p93-line); border-radius: 12px; }
.p93-help-q { width: 36px; height: 36px; border-radius: 50%; background: var(--p93-ink); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 19px; flex: none; }
.p93-help strong { font-size: 15px; }
.p93-help p { margin: 2px 0 6px; font-size: 15px; color: var(--p93-ink2); }
.p93-help a { display: inline-flex; align-items: center; gap: 6px; color: var(--p93-ink); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.p93-help a svg { width: 16px; height: 16px; }

/* ---------- done dialog ---------- */
.p93-done { position: fixed; inset: 0; z-index: 100001; background: rgba(17, 18, 20, .45); display: grid; place-items: center; padding: 16px; }
.p93-done-card { background: #fff; border-radius: 18px; padding: 28px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.p93-done-ok { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: var(--p93-y); display: grid; place-items: center; font-size: 30px; font-weight: 900; }
.p93-done-card h3 { font-size: 22px; font-weight: 900; }
.p93-done-card p { color: var(--p93-ink2); margin: 8px 0 20px; }
.p93-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- mobile bar ---------- */
.p93-mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
	.p93-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "badges" "steps"; gap: 16px; }
	.p93-badges { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
	.p93-grid { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); }
	.p93-col-order { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
	.p93-col-order .p93-card-h { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.p93-head { gap: 14px; padding-bottom: 16px; }
	.p93-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.p93-badges li { flex-direction: column; text-align: center; white-space: normal; border-radius: 14px; padding: 12px 6px; gap: 8px; }
	.p93-badges small { display: none; }
	.p93-badges strong { font-size: 15px; }
	.p93-steps li { font-size: 15.5px; }
	.p93-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.p93-col-order { display: block; }
	.p93-card { padding: 14px; }
	.p93-stage { grid-template-columns: minmax(0, 1fr) 66px; gap: 8px; }
	.p93-card-h h3 { font-size: 18px; }
	.p93-dim-top { left: 26px; right: 26px; }
	.p93-ruler { left: -24px; width: 20px; }
	.p93-dim-side { right: 2px; }
	.p93-mini { padding: 8px 4px; }
	.p93-mini h4 { font-size: 13px; }
	.p93-ws { height: auto; max-height: 64vh; min-height: 280px; }
	.p93-col-editor.p93-is-full .p93-ws { max-height: none; }
	.p93-ws-inner { padding: 42px 26px 24px; }
	.p93-tb span { display: none; }
	.p93dtf .p93-tb-y span { display: inline; }
	.p93-hint { display: none; }
	.p93-files { max-height: none; }
	.p93dtf { padding-bottom: 84px; }
	.p93-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--p93-line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px; transform: translateY(110%); transition: transform .25s; }
	.p93-mbar.is-on { transform: none; }
	.p93-mbar div { display: flex; flex-direction: column; }
	.p93-mbar small { color: var(--p93-mut); font-size: 14px; }
	.p93-mbar strong { font-size: 19px; font-weight: 900; }
}
@media (max-width: 480px) {
	.p93-title p { font-size: 15px; }
	.p93-steps span { font-size: 14.5px; }
	.p93-steps { padding: 12px 4px; }
	.p93-f { grid-template-columns: 52px minmax(0, 1fr) 30px; grid-template-areas: "th meta del" "th step del"; row-gap: 6px; }
	.p93-f-th { width: 52px; height: 52px; grid-area: th; }
	.p93-f-meta { grid-area: meta; }
	.p93-f .p93-stepper { grid-area: step; justify-self: start; }
	.p93-f-del { grid-area: del; }
	.p93-f.is-err, .p93-f.is-up { grid-template-areas: "th meta del"; }
	.p93-big { font-size: 30px; }
}

/* compact toolbar when the editor column is narrow */
.p93-col-editor { container-type: inline-size; }
@container (max-width: 940px) {
	.p93dtf .p93-tb[data-p93="rotate"] span, .p93dtf .p93-tb[data-p93="dup"] span, .p93dtf .p93-tb[data-p93="del"] span { display: none; }
	.p93dtf .p93-tb[data-p93="rotate"], .p93dtf .p93-tb[data-p93="dup"], .p93dtf .p93-tb[data-p93="del"] { padding: 8px; }
}
@container (max-width: 1000px) {
	.p93dtf .p93-tb[data-p93="addImg"] span { display: none; }
	.p93dtf .p93-tb[data-p93="addImg"] { padding: 8px; }
}


/* ================= motion ================= */
@keyframes p93-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes p93-pop-in { 0% { opacity: 0; transform: scale(.82); } 70% { opacity: 1; transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes p93-row-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes p93-bump-k { 0% { transform: scale(1); } 35% { transform: scale(1.06); color: #000; } 100% { transform: scale(1); } }
@keyframes p93-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes p93-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 225, 0, .55); } 100% { box-shadow: 0 0 0 14px rgba(255, 225, 0, 0); } }
@keyframes p93-shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes p93-check { 0% { transform: scale(0) rotate(-45deg); } 60% { transform: scale(1.15) rotate(0); } 100% { transform: scale(1); } }
@keyframes p93-dash { to { background-position: 40px 0, -40px 100%, 0 -40px, 100% 40px; } }

/* entrance of the whole calculator (staggered) */
.p93dtf .p93-head { animation: p93-fade-up .55s cubic-bezier(.2, .7, .2, 1) both; }
.p93dtf .p93-col-upload { animation: p93-fade-up .55s .08s cubic-bezier(.2, .7, .2, 1) both; }
.p93dtf .p93-col-editor { animation: p93-fade-up .55s .16s cubic-bezier(.2, .7, .2, 1) both; }
.p93dtf .p93-col-order { animation: p93-fade-up .55s .24s cubic-bezier(.2, .7, .2, 1) both; }
.p93dtf .p93-feats { animation: p93-fade-up .55s .32s cubic-bezier(.2, .7, .2, 1) both; }
.p93dtf .p93-feats li { animation: p93-fade-up .5s cubic-bezier(.2, .7, .2, 1) both; }
.p93dtf .p93-feats li:nth-child(1) { animation-delay: .38s; }
.p93dtf .p93-feats li:nth-child(2) { animation-delay: .44s; }
.p93dtf .p93-feats li:nth-child(3) { animation-delay: .50s; }
.p93dtf .p93-feats li:nth-child(4) { animation-delay: .56s; }
.p93dtf .p93-feats li:nth-child(5) { animation-delay: .62s; }
.p93dtf .p93-feats li:nth-child(6) { animation-delay: .68s; }

/* steps */
.p93-steps b { transition: background .35s, box-shadow .35s, transform .35s; }
.p93-steps li.is-active b { transform: scale(1.06); }
.p93-steps li:last-child.is-active b { animation: p93-pulse-ring 1.6s ease-out infinite; }
.p93-steps li::before { transition: background .5s; }

/* drop zone */
.p93-drop-ico svg { animation: p93-float 3s ease-in-out infinite; }
.p93-drop { transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.p93-drop:hover { box-shadow: 0 8px 24px rgba(16, 18, 22, .06); }
.p93-drop.is-over { transform: scale(1.015); border-style: solid; box-shadow: 0 0 0 6px rgba(255, 225, 0, .35); }
.p93-drop.is-over .p93-drop-ico svg { animation-duration: .9s; }

/* file rows */
.p93-f.p93-enter { animation: p93-row-in .38s cubic-bezier(.2, .7, .2, 1) both; }
.p93-f { transition: background .2s; border-radius: 10px; }
.p93-f:hover { background: #fafafb; }
.p93-f-th img { transition: transform .25s; }
.p93-f:hover .p93-f-th img { transform: scale(1.08); }
.p93-bar i { background: linear-gradient(90deg, var(--p93-y), #ffc400, var(--p93-y)); background-size: 200% 100%; animation: p93-bar-move 1.2s linear infinite; }
@keyframes p93-bar-move { to { background-position: -200% 0; } }

/* film items */
.p93-it.p93-pop { animation: p93-pop-in .42s cubic-bezier(.2, .8, .3, 1.2) both; }
.p93-anim .p93-it { transition: left .45s cubic-bezier(.3, .8, .25, 1), top .45s cubic-bezier(.3, .8, .25, 1), width .45s, height .45s, outline-color .12s; }
.p93-anim .p93-it-in { transition: transform .45s cubic-bezier(.3, .8, .25, 1), width .45s, height .45s; }
.p93-it { transition: outline-color .12s, box-shadow .2s; }
.p93-it.is-drag { box-shadow: 0 14px 30px rgba(0, 0, 0, .25); transform: scale(1.02); }
.p93-it.is-bad { animation: p93-shake .35s; }
@keyframes p93-shake { 0%, 100% { translate: 0 0; } 25% { translate: -3px 0; } 75% { translate: 3px 0; } }
.p93-film-empty svg { animation: p93-float 3s ease-in-out infinite; }
.p93-mini-view { transition: top .12s linear, height .12s linear; }

/* numbers */
.p93-big { display: inline-block; transform-origin: left center; }
.p93-big.p93-bump { animation: p93-bump-k .45s cubic-bezier(.3, .8, .3, 1.3); }

/* buttons */
.p93dtf .p93-btn-y { position: relative; overflow: hidden; }
.p93dtf .p93-btn-y::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.p93dtf .p93-btn-y:hover:not(:disabled)::after { animation: p93-shine .8s ease; }
.p93dtf .p93-btn-xl:not(:disabled) { animation: p93-pulse-ring 2s ease-out 1s 2; }
.p93dtf .p93-btn-xl:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 2px 0 var(--p93-y2) inset, 0 10px 24px rgba(255, 200, 0, .45); }
.p93dtf .p93-btn.is-busy svg { animation: p93-float .6s ease-in-out infinite; }
.p93dtf .p93-tb { transition: background .15s, border-color .15s, transform .12s; }
.p93dtf .p93-tb:active:not(:disabled) { transform: scale(.96); }

/* done dialog */
.p93-done:not([hidden]) { animation: p93-fade .25s ease both; }
.p93-done:not([hidden]) .p93-done-card { animation: p93-pop-in .4s cubic-bezier(.2, .8, .3, 1.2) both; }
.p93-done:not([hidden]) .p93-done-ok { animation: p93-check .5s .15s cubic-bezier(.2, .8, .3, 1.4) both; }
@keyframes p93-fade { from { opacity: 0; } to { opacity: 1; } }

/* feature tiles */
.p93-feats li .p93-fi { transition: transform .25s cubic-bezier(.3, .8, .3, 1.4); }
.p93-feats li:hover .p93-fi { transform: rotate(-8deg) scale(1.08); }
.p93-feats li::after { transition: transform .4s; }
.p93-feats li:hover::after { transform: scale(1.6); }

.p93-msg:not([hidden]), .p93-total:not([hidden]), .p93-note:not([hidden]) { animation: p93-fade-up .3s ease both; }

@media (prefers-reduced-motion: reduce) {
	.p93dtf *, .p93dtf *::before, .p93dtf *::after { animation: none !important; transition: none !important; }
}


/* ---------- size editor in the file rows ---------- */
.p93-f { grid-template-columns: 64px minmax(0, 1fr) 32px; grid-template-areas: "th meta del" "ctl ctl ctl"; row-gap: 12px; align-items: start; padding: 14px 4px; }
.p93-f-th { grid-area: th; }
.p93-f-meta { grid-area: meta; padding-top: 3px; }
.p93-f-del { grid-area: del; }
.p93-f.is-err, .p93-f.is-up { grid-template-areas: "th meta del"; }
.p93-f-ctl { grid-area: ctl; display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 10px; }
.p93-fld { min-width: 0; }
.p93-fld-lbl { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--p93-mut); margin: 0 0 5px 2px; }
.p93-seg { display: grid; grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); align-items: stretch; height: 46px; border: 1px solid var(--p93-line); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.p93-seg:focus-within { border-color: var(--p93-ink); box-shadow: 0 0 0 3px rgba(255, 234, 1, .5); }
.p93-seg-i { display: flex; flex-direction: column; justify-content: center; padding: 0 10px; margin: 0; cursor: text; min-width: 0; }
.p93-seg-i em { font-style: normal; font-size: 12px; line-height: 1; font-weight: 700; color: var(--p93-mut); text-transform: uppercase; letter-spacing: .05em; }
.p93-seg-i span { display: flex; align-items: baseline; gap: 3px; }
.p93dtf .p93-seg-i input { width: 100%; min-width: 0; border: 0; padding: 2px 0 0; margin: 0; height: auto; min-height: 0; font-size: 16px; font-weight: 800; color: var(--p93-ink); background: transparent; box-shadow: none; border-radius: 0; line-height: 1.2; }
.p93dtf .p93-seg-i input:focus { outline: none; }
.p93-seg-i u { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--p93-mut); }
.p93-seg-link { display: grid; place-items: center; color: var(--p93-mut); border-left: 1px solid var(--p93-line); border-right: 1px solid var(--p93-line); background: var(--p93-soft); }
.p93-seg-link svg { width: 14px; height: 14px; }
.p93-qbox { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; height: 46px; border: 1px solid var(--p93-line); border-radius: 10px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.p93-qbox:focus-within { border-color: var(--p93-ink); box-shadow: 0 0 0 3px rgba(255, 234, 1, .5); }
.p93dtf .p93-qbox button { border: 0; padding: 0; background: var(--p93-soft); color: var(--p93-ink); font-size: 18px; font-weight: 600; transition: background .15s, color .15s; }
.p93dtf .p93-qbox button:hover { background: var(--p93-ink); color: #fff; }
.p93dtf .p93-qbox input { width: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 800; padding: 0; margin: 0; height: 100%; min-height: 0; background: #fff; color: var(--p93-ink); box-shadow: none; border-radius: 0; }
.p93dtf .p93-qbox input:focus { outline: none; }
.p93-f-info .p93-link { font-size: 14px; }
.p93-f-meta small.p93-f-info { color: var(--p93-ink2); }
@media (max-width: 480px) {
	.p93-f { grid-template-columns: 52px minmax(0, 1fr) 30px; grid-template-areas: "th meta del" "ctl ctl ctl"; }
	.p93-f-ctl { grid-template-columns: minmax(0, 1fr) 108px; gap: 8px; }
}
@media (max-width: 340px) { .p93-f-ctl { grid-template-columns: 1fr; } }

/* ---------- shop-style red call-to-action ---------- */
.p93dtf .p93-btn-red, .p93dtf .p93-btn-xl, .p93dtf [data-p93="mbarBtn"], .p93dtf [data-p93="doneCart"] {
	background: var(--p93-red); color: #fff; border-radius: 8px; text-transform: uppercase; letter-spacing: .04em; font-weight: 800;
	box-shadow: 0 6px 18px rgba(227, 18, 15, .28);
}
.p93dtf .p93-btn-xl:hover:not(:disabled), .p93dtf [data-p93="mbarBtn"]:hover:not(:disabled), .p93dtf [data-p93="doneCart"]:hover { background: var(--p93-red2); box-shadow: 0 10px 24px rgba(227, 18, 15, .35); color: #fff; }
.p93dtf .p93-btn-xl svg, .p93dtf [data-p93="mbarBtn"] svg { color: #fff; }
.p93dtf .p93-btn-xl:disabled, .p93dtf [data-p93="mbarBtn"]:disabled { background: #eceef1; color: #9a9ea6; box-shadow: none; }
.p93dtf .p93-btn-xl:disabled svg { color: #9a9ea6; }
.p93dtf .p93-btn-xl:not(:disabled) { animation: p93-pulse-red 2s ease-out 1s 2; }
@keyframes p93-pulse-red { 0% { box-shadow: 0 0 0 0 rgba(227, 18, 15, .45); } 100% { box-shadow: 0 0 0 14px rgba(227, 18, 15, 0); } }
.p93dtf .p93-btn-xl::after, .p93dtf [data-p93="mbarBtn"]::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); }

/* ---------- refined order column ---------- */
.p93-col-order .p93-box { background: #fff; border: 1px solid var(--p93-line); }
.p93-col-order .p93-box:first-of-type { background: linear-gradient(135deg, #fffbd6, #fff 60%); border-color: #f4e9a4; }
.p93-col-order .p93-box-price { background: var(--p93-ink); border-color: var(--p93-ink); }
.p93-col-order .p93-box-price .p93-lbl, .p93-col-order .p93-box-price .p93-sub { color: rgba(255, 255, 255, .72); }
.p93-col-order .p93-box-price .p93-muted { color: rgba(255, 255, 255, .5); }
.p93-col-order .p93-box-price .p93-big { color: #fff; }
.p93-col-order .p93-box-price .p93-lbl small { color: var(--p93-y); }
.p93-col-order .p93-box-price .p93-note { background: rgba(255, 234, 1, .14); color: var(--p93-y); }
.p93-qty .p93-lbl b { font-weight: 800; }
.p93-qty .p93-qbox { height: 54px; border-radius: 12px; grid-template-columns: 56px minmax(0, 1fr) 56px; }
.p93dtf .p93-qty .p93-qbox button { font-size: 22px; }
.p93dtf .p93-qty .p93-qbox input { font-size: 20px; }
.p93dtf .p93-btn-xl { white-space: nowrap; font-size: 16px; letter-spacing: .03em; padding: 17px 16px; }
.p93dtf .p93-btn-xl svg { width: 22px; height: 22px; }
.p93-col-order .p93-help { margin-top: 16px; }

/* dark film background – shows white designs */
.p93dtf .p93-tb.is-on { background: var(--p93-ink); color: #fff; border-color: var(--p93-ink); }
.p93-film.is-dark { background: #2a2c31; }
.p93-film.is-dark::before { background: repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--p93-tick, 40px) - 1px), rgba(255, 255, 255, .08) calc(var(--p93-tick, 40px) - 1px), rgba(255, 255, 255, .08) var(--p93-tick, 40px)); }
.p93-film.is-dark::after { border-color: rgba(255, 255, 255, .18); }
.p93-film.is-dark .p93-it:hover { outline-color: rgba(255, 255, 255, .5); }
.p93-film.is-dark .p93-film-empty { color: #8a8f98; }
.p93-f-th.is-dark { background: #2a2c31 repeating-conic-gradient(#33363c 0 25%, #2a2c31 0 50%) 0 0 / 12px 12px; }

.p93dtf .p93-tb.is-on:hover { background: #2c2f35; border-color: #2c2f35; color: #fff; }

@media (min-width: 901px) and (max-width: 1280px) {
	.p93-col-order { align-items: start; }
	.p93-col-order > .p93-box-len { grid-column: 1; grid-row: 2; }
	.p93-col-order > .p93-box-price { grid-column: 1; grid-row: 3 / span 4; margin-bottom: 0; }
	.p93-col-order > .p93-qty { grid-column: 2; grid-row: 2; margin: 0 0 12px; }
	.p93-col-order > .p93-total { grid-column: 2; grid-row: 3; }
	.p93-col-order > [data-p93="addCart"] { grid-column: 2; grid-row: 4; }
	.p93-col-order > .p93-msg { grid-column: 2; grid-row: 5; }
	.p93-col-order > .p93-help { grid-column: 2; grid-row: 6; }
}

/* every design shows its frame, so white/transparent artwork is never "lost" */
.p93-it { outline: 1px dashed rgba(17, 18, 20, .22); outline-offset: 0; }
.p93-film.is-dark .p93-it { outline-color: rgba(255, 255, 255, .28); }
.p93-film.is-dark .p93-it.is-sel { outline: 2px solid var(--p93-y); }
@media (max-width: 900px) {
	.p93dtf .p93-mini-nav { gap: 4px; }
	.p93dtf .p93-mini-nav button { width: 26px; height: 30px; }
	.p93-mini-meta b { font-size: 15px; }
	.p93-dim-side b { font-size: 14px; }
}

/* ---------- v1.1: no minimap, magnifier, checkerboard film ---------- */
.p93-stage { grid-template-columns: minmax(0, 1fr) !important; position: relative; }
.p93-mini { display: none !important; }
.p93-loupe { position: absolute; left: 0; top: 0; width: 230px; height: 230px; border-radius: 50%; overflow: hidden; pointer-events: none; z-index: 20;
	box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--p93-ink), 0 18px 40px rgba(0, 0, 0, .35); background: #fff; will-change: transform; animation: p93-loupe-in .18s ease-out; }
.p93-loupe::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1.5px solid rgba(227, 18, 15, .8); border-radius: 50%; }
.p93-loupe canvas { display: block; }
@keyframes p93-loupe-in { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
.p93-film { cursor: crosshair; }
.p93-it { cursor: grab; }
/* Photoshop-like transparency grid (light) */
.p93-film.is-dark { background-color: #d6d8dc; background-image: linear-gradient(45deg, #c4c7cc 25%, transparent 25%, transparent 75%, #c4c7cc 75%), linear-gradient(45deg, #c4c7cc 25%, transparent 25%, transparent 75%, #c4c7cc 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.p93-film.is-dark::before { background: repeating-linear-gradient(180deg, transparent 0, transparent calc(var(--p93-tick, 40px) - 1px), rgba(17, 18, 20, .14) calc(var(--p93-tick, 40px) - 1px), rgba(17, 18, 20, .14) var(--p93-tick, 40px)); }
.p93-film.is-dark::after { border-color: rgba(17, 18, 20, .25); }
.p93-film.is-dark .p93-it { outline-color: rgba(17, 18, 20, .3); }
.p93-film.is-dark .p93-it:hover { outline-color: rgba(17, 18, 20, .6); }
.p93-film.is-dark .p93-it.is-sel { outline: 2px solid var(--p93-ink); }
.p93-film.is-dark .p93-film-empty { color: #5f646c; }
.p93-f-th.is-dark { background: #d6d8dc linear-gradient(45deg, #c4c7cc 25%, transparent 25%, transparent 75%, #c4c7cc 75%) 0 0 / 12px 12px, linear-gradient(45deg, #c4c7cc 25%, transparent 25%, transparent 75%, #c4c7cc 75%) 6px 6px / 12px 12px; }
.p93dtf .p93-tb[data-p93="bg"].is-on, .p93dtf .p93-tb[data-p93="loupeBtn"].is-on { background: var(--p93-ink); color: #fff; border-color: var(--p93-ink); }

.p93-big-lbl { font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .7); margin-left: 4px; }
html:not(.p93-vat-excl) .p93dtf .p93-ve, html.p93-vat-excl .p93dtf .p93-vi { display: none !important; }
.p93-big-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }

/* ---------- price tiers ---------- */
.p93-tiers-wrap { margin: 0 0 12px; }
.p93-tiers-wrap .p93-lbl { display: block; margin-bottom: 8px; }
.p93-tiers-wrap .p93-lbl small { color: var(--p93-mut); font-size: 14px; }
.p93-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.p93-tier { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1px; padding: 14px 6px 10px; border: 1.5px solid var(--p93-line); border-radius: 12px; background: #fff; transition: transform .25s cubic-bezier(.3, .8, .3, 1.3), border-color .2s, box-shadow .2s, background .2s; min-width: 0; }
.p93-tier-r { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--p93-ink2); white-space: nowrap; }
.p93-tier-p { font-size: 19px; font-weight: 900; line-height: 1.15; margin-top: 4px; white-space: nowrap; letter-spacing: -.01em; }
.p93-tier-u { font-size: 12.5px; color: var(--p93-mut); }
.p93-tier-m2 { margin-top: 5px; font-size: 13px; font-weight: 700; color: var(--p93-ink2); background: var(--p93-soft); border-radius: 20px; padding: 2px 7px; white-space: nowrap; }
.p93-tier-save { position: absolute; top: -9px; right: 6px; background: var(--p93-red); color: #fff; font-size: 12.5px; font-weight: 800; padding: 2px 7px; border-radius: 20px; box-shadow: 0 3px 8px rgba(227, 18, 15, .3); }
.p93-tier-badge { position: absolute; top: -9px; left: 6px; width: 20px; height: 20px; display: grid; place-items: center; background: var(--p93-ink); color: var(--p93-y); font-size: 13px; font-weight: 900; border-radius: 50%; box-shadow: 0 3px 8px rgba(0, 0, 0, .25); animation: p93-pop-in .35s cubic-bezier(.2, .8, .3, 1.3) both; }
.p93-tier.is-on { border-color: var(--p93-ink); background: linear-gradient(160deg, #fff6a8, var(--p93-y) 70%); box-shadow: 0 8px 20px rgba(242, 217, 0, .35); transform: translateY(-2px); }
.p93-tier.is-on .p93-tier-m2 { background: rgba(255, 255, 255, .7); }
.p93-tier.is-on .p93-tier-u, .p93-tier.is-on .p93-tier-r { color: var(--p93-ink); }
.p93-tier-hint { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--p93-ink2); }
.p93-th-bar { height: 6px; border-radius: 6px; background: #eceef1; overflow: hidden; }
.p93-th-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--p93-y), #ffc400); transition: width .45s cubic-bezier(.3, .8, .25, 1); }
.p93-th-bar.is-full i { background: linear-gradient(90deg, #22c55e, #12a150); }
.p93-col-order .p93-box-price .p93-muted { color: rgba(255, 255, 255, .72); }
.p93-col-order .p93-box-price .p93-muted b { color: #fff; font-weight: 800; }
@media (min-width: 901px) and (max-width: 1280px) {
	.p93-col-order > .p93-tiers-wrap { grid-column: 1 / -1; grid-row: 2; }
	.p93-col-order > .p93-box-len { grid-row: 3; }
	.p93-col-order > .p93-box-price { grid-row: 4 / span 4; }
	.p93-col-order > .p93-qty { grid-row: 3; }
	.p93-col-order > .p93-total { grid-row: 4; }
	.p93-col-order > [data-p93="addCart"] { grid-row: 5; }
	.p93-col-order > .p93-msg { grid-row: 6; }
	.p93-col-order > .p93-help { grid-row: 7; }
}


/* ---------- upload progress feedback ---------- */
.p93-up-txt { font-variant-numeric: tabular-nums; }
.p93-up-txt b { color: var(--p93-ink); font-weight: 800; }
.p93-f.is-proc .p93-bar i { width: 100% !important; background: linear-gradient(90deg, var(--p93-green), #4fd78a, var(--p93-green)); background-size: 200% 100%; }
.p93-upnote { display: none; align-items: center; gap: 14px; margin: 0 0 12px; padding: 14px 16px; border-radius: 14px; background: #fffce6; border: 1.5px solid var(--p93-y2); box-shadow: var(--p93-shadow); }
.p93-upnote.is-on { display: flex; animation: p93-upnote-in .25s ease; }
.p93-upnote-tx { flex: 1; min-width: 0; }
.p93-upnote-tx b { display: block; font-size: 14.5px; line-height: 1.3; color: var(--p93-ink); font-weight: 800; }
.p93-upnote-tx small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--p93-ink2); }
.p93-upnote .p93-bar { height: 7px; margin-top: 9px; background: rgba(17, 18, 20, .08); }
.p93-upnote-pct { flex: none; min-width: 58px; text-align: right; font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--p93-ink); font-variant-numeric: tabular-nums; }
.p93-upnote-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(17, 18, 20, .14); border-top-color: var(--p93-ink); animation: p93-upnote-spin .8s linear infinite; display: grid; place-items: center; box-sizing: border-box; }
.p93-upnote.is-done { background: #ecfaf2; border-color: #9fdfbb; }
.p93-upnote.is-err { background: #fdeeee; border-color: #f2a7a6; }
.p93-upnote.is-done .p93-upnote-ic, .p93-upnote.is-err .p93-upnote-ic { animation: none; border: 0; background: var(--p93-green); }
.p93-upnote.is-err .p93-upnote-ic { background: var(--p93-red); }
.p93-upnote.is-done .p93-upnote-ic::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 800; }
.p93-upnote.is-err .p93-upnote-ic::after { content: "!"; color: #fff; font-size: 15px; font-weight: 800; }
@keyframes p93-upnote-spin { to { transform: rotate(360deg); } }
@keyframes p93-upnote-in { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 600px) {
	.p93-upnote { padding: 12px 13px; gap: 11px; }
	.p93-upnote-pct { font-size: 21px; min-width: 48px; }
	.p93-upnote-tx small { font-size: 12px; }
}