/* Pro order pages: Customize page + Bulk page */
.cpdcp-o {
	--cpdcp-o-accent: #c62828;
	--cpdcp-o-ink: #16181d;
	--cpdcp-o-muted: #6b7080;
	--cpdcp-o-line: #e6e7eb;
	--cpdcp-o-soft: #f6f7f9;
	--cpdcp-o-ok: #1e8e4e;
	--cpdcp-o-radius: 14px;
	color: var(--cpdcp-o-ink);
	font-size: 15px;
	line-height: 1.45;
	box-sizing: border-box;
}
.cpdcp-o *, .cpdcp-o *::before, .cpdcp-o *::after { box-sizing: border-box; }
.cpdcp-o [hidden] { display: none !important; }
.cpdcp-o button { font: inherit; color: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; }
.cpdcp-o h2, .cpdcp-o h3, .cpdcp-o h4 { margin: 0; color: var(--cpdcp-o-ink); letter-spacing: normal; text-transform: none; }

/* ---------- shared pieces ---------- */
.cpdcp-o-card { border: 1px solid var(--cpdcp-o-line); border-radius: var(--cpdcp-o-radius); padding: 16px; background: #fff; margin: 0 0 14px; }
.cpdcp-o-card.is-flash { box-shadow: 0 0 0 3px color-mix(in srgb, var(--cpdcp-o-accent) 35%, transparent); transition: box-shadow .2s; }
.cpdcp-o-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.cpdcp-o-card h3 { font-size: 17px; font-weight: 700; }
.cpdcp-o-card h4 { font-size: 14px; font-weight: 500; color: var(--cpdcp-o-muted); margin: 0 0 8px; }
.cpdcp-o-pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--cpdcp-o-accent); color: #fff; }
.cpdcp-o-pill:empty { display: none; }
.cpdcp-o-pill-dark { background: var(--cpdcp-o-ink); }
.cpdcp-o-pill-soft { background: var(--cpdcp-o-soft); color: var(--cpdcp-o-muted); font-weight: 500; }

.cpdcp-o-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.cpdcp-o-seg button { flex: 1 1 0; min-width: 90px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--cpdcp-o-line); border-radius: 10px; background: #fff; font-weight: 500; line-height: 1.2; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cpdcp-o-seg button small { font-size: 11px; color: var(--cpdcp-o-muted); font-weight: 400; margin-top: 2px; }
.cpdcp-o-seg button:hover { border-color: #c9cbd2; }
.cpdcp-o-seg button.is-on { border: 2px solid var(--cpdcp-o-accent); color: var(--cpdcp-o-accent); background: color-mix(in srgb, var(--cpdcp-o-accent) 6%, #fff); }

.cpdcp-o-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; padding: 2px 0; }
.cpdcp-o-size { min-width: 0; border: 1px solid var(--cpdcp-o-line); border-radius: 10px; padding: 5px 4px 6px; text-align: center; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cpdcp-o-size.has-qty { border-color: var(--cpdcp-o-accent); box-shadow: inset 0 0 0 1px var(--cpdcp-o-accent); }
.cpdcp-o-size-name { font-weight: 700; font-size: 14px; }
.cpdcp-o-size-name { line-height: 1.2; }
.cpdcp-o-size-extra { font-size: 10px; color: var(--cpdcp-o-muted); line-height: 1; margin-top: -2px; }
.cpdcp-o-size-extra:empty { display: none; }
.cpdcp-o-qty { display: flex; align-items: center; gap: 2px; }
.cpdcp-o-qty button { width: 24px; height: 28px; border: 0; background: none; font-size: 18px; line-height: 1; padding: 0; color: var(--cpdcp-o-ink); border-radius: 6px; }
.cpdcp-o-qty button:hover:not(:disabled) { background: var(--cpdcp-o-soft); }
.cpdcp-o-qty button:disabled { color: #c3c5cc; cursor: default; }
.cpdcp-o .cpdcp-o-qty input { width: 40px !important; height: 28px !important; min-height: 0 !important; line-height: normal; box-sizing: border-box !important; border: 1px solid var(--cpdcp-o-line); border-radius: 6px; text-align: center; font-weight: 700; padding: 0 2px; margin: 0; background: #fff; color: var(--cpdcp-o-ink); font-size: 14px; -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.cpdcp-o-qty input::-webkit-outer-spin-button, .cpdcp-o-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cpdcp-o-rule { font-size: 13px; color: var(--cpdcp-o-muted); margin: 6px 0 0; }
.cpdcp-o-rule.is-bad { color: var(--cpdcp-o-accent); }
.cpdcp-o-tier { font-size: 13px; font-weight: 600; color: var(--cpdcp-o-accent); margin: 6px 0 0; }
.cpdcp-o-tier.is-on { color: var(--cpdcp-o-ok); }
.cpdcp-o-error { color: #b3261e; font-size: 14px; font-weight: 500; margin: 8px 0 0; }

.cpdcp-o-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; font-weight: 700; text-decoration: none !important; border: 2px solid var(--cpdcp-o-accent); transition: filter .15s, opacity .15s; white-space: nowrap; }
.cpdcp-o-btn-primary { background: var(--cpdcp-o-accent); color: #fff !important; }
.cpdcp-o-btn-ghost { background: #fff; color: var(--cpdcp-o-accent) !important; }
.cpdcp-o-btn:hover:not(:disabled) { filter: brightness(.94); }
.cpdcp-o-btn:disabled { opacity: .45; cursor: not-allowed; }
.cpdcp-o-empty { padding: 14px 16px; background: #fff8e5; border: 1px solid #f0d58a; border-radius: 8px; }
.cpdcp-o :focus-visible { outline: 2px solid var(--cpdcp-o-accent); outline-offset: 2px; }

/* ---------- Customize page ---------- */
.cpdcp-cz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "left top" "left right"; column-gap: 32px; align-items: start; margin: 0 auto 32px; max-width: 1240px; }
.cpdcp-cz-top { grid-area: top; }
.cpdcp-cz-left { grid-area: left; position: sticky; top: 24px; }
.cpdcp-cz-right { grid-area: right; }
.cpdcp-cz-view { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
.cpdcp-cz-thumbs { display: flex; flex-direction: column; gap: 10px; }
.cpdcp-cz-thumb { border: 1px solid var(--cpdcp-o-line); border-radius: 12px; background: #fff; padding: 6px 6px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: var(--cpdcp-o-muted); }
.cpdcp-cz-thumb.is-on { border: 2px solid var(--cpdcp-o-accent); color: var(--cpdcp-o-accent); padding: 5px 5px 3px; }
.cpdcp-cz-mini { display: block; width: 100%; aspect-ratio: 1; }
.cpdcp-cz-stage { border: 1px solid var(--cpdcp-o-line); border-radius: 18px; background: #fff; aspect-ratio: 1; cursor: pointer; overflow: hidden; }
.cpdcp-cz-canvas { position: relative; width: 100%; height: 100%; display: block; }
.cpdcp-cz-canvas img, .cpdcp-cz-tint { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; max-width: none; border-radius: 0; }
.cpdcp-cz-tint { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.cpdcp-cz-mock.is-tinted { mix-blend-mode: multiply; }
.cpdcp-cz-pa { position: absolute; border: 1.5px dashed color-mix(in srgb, var(--cpdcp-o-accent) 70%, #fff); border-radius: 2px; pointer-events: none; }
.cpdcp-cz-hint { font-size: 13px; color: var(--cpdcp-o-muted); text-align: right; margin: 10px 0 12px; }
.cpdcp-cz-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cpdcp-cz-tool { border: 1px solid var(--cpdcp-o-line); border-radius: 14px; background: #fff; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 14px; padding: 8px; }
.cpdcp-cz-tool:hover { border-color: var(--cpdcp-o-accent); color: var(--cpdcp-o-accent); }
.cpdcp-ic { width: 22px; height: 22px; display: block; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.cpdcp-ic-shirt { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M8 3 4 5 2 9l3 2 1-1v11h12V10l1 1 3-2-2-4-4-2a4 4 0 0 1-8 0Z'/%3E%3C/svg%3E"); }
.cpdcp-ic-text { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 6V4h14v2M12 4v16M9 20h6'/%3E%3C/svg%3E"); }
.cpdcp-ic-upload { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-4-4-9 9'/%3E%3C/svg%3E"); }
.cpdcp-ic-tpl { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='8' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.cpdcp-cz-note { font-size: 13px; color: var(--cpdcp-o-muted); margin: 12px 0 0; }

.cpdcp-cz-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.2; margin: 0 0 14px !important; }
.cpdcp-cz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 16px; }
.cpdcp-cz-price strong { font-size: 32px; font-weight: 800; }
.cpdcp-cz-price span { color: var(--cpdcp-o-muted); }
.cpdcp-cz-styles { display: flex; flex: 1 1 260px; gap: 10px; flex-wrap: wrap; }
.cpdcp-cz-style { flex: 1 1 150px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--cpdcp-o-line); border-radius: 12px; text-decoration: none !important; color: var(--cpdcp-o-ink) !important; background: #fff; }
.cpdcp-cz-style.is-on { border: 2px solid var(--cpdcp-o-accent); background: color-mix(in srgb, var(--cpdcp-o-accent) 6%, #fff); padding: 7px 11px; }
.cpdcp-cz-style img { width: 36px !important; height: 36px !important; object-fit: contain; margin: 0 !important; }
.cpdcp-cz-style span { display: flex; flex-direction: column; line-height: 1.25; }
.cpdcp-cz-style small { color: var(--cpdcp-o-muted); font-size: 12px; }

.cpdcp-cz-colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 10px 8px; }
.cpdcp-cz-color { background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--cpdcp-o-muted); min-width: 0; }
.cpdcp-cz-color-sw { position: relative; width: 56px; height: 56px; border: 1px solid var(--cpdcp-o-line); border-radius: 10px; background: #fff; overflow: hidden; display: block; }
.cpdcp-cz-color-sw.is-dot { border-radius: 50%; }
.cpdcp-cz-color-sw .cpdcp-cz-tint, .cpdcp-cz-color-sw img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.cpdcp-cz-color.is-on .cpdcp-cz-color-sw { border: 2px solid var(--cpdcp-o-accent); }
.cpdcp-cz-color.is-on { color: var(--cpdcp-o-ink); font-weight: 600; }
.cpdcp-cz-color-name { max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpdcp-cz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cpdcp-cz-upload { width: 100%; min-height: 48px; border: 1.5px dashed var(--cpdcp-o-accent); border-radius: 12px; background: color-mix(in srgb, var(--cpdcp-o-accent) 4%, #fff); color: var(--cpdcp-o-accent) !important; font-weight: 600; margin: 0 0 10px; }
.cpdcp-cz-noteinput { width: 100%; border: 1px solid var(--cpdcp-o-line); border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; min-height: 46px; background: #fff; color: var(--cpdcp-o-ink); }
.cpdcp-cz-design-state { font-size: 13px; color: var(--cpdcp-o-ok); margin: 8px 0 0; }
.cpdcp-cz-total { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--cpdcp-o-radius); background: var(--cpdcp-o-ink); color: #fff; position: sticky; bottom: 12px; z-index: 5; }
.cpdcp-cz-total > div { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.cpdcp-cz-total span { font-size: 12px; opacity: .7; }
.cpdcp-cz-total strong { font-size: 24px; font-weight: 800; color: #fff; }
.cpdcp-cz-total small { font-size: 12px; opacity: .8; }
.cpdcp-cz-total .cpdcp-o-btn { min-width: 170px; min-height: 52px; font-size: 16px; }

/* The designer popup on the Customize page: the page asks for these options. */
body.cpdcp-cz-on #cpdc-modal .cpdcp-hide,
body.cpdcp-cz-on #cpdc-modal #cpdc-save,
body.cpdcp-cz-on #cpdc-modal #cpdc-cancel { display: none !important; }

/* ---------- Bulk page ---------- */
.cpdcp-bk { --cpdcp-bk-cols: 3; margin: 0 auto 90px; max-width: 1240px; }
.cpdcp-bk-note { background: var(--cpdcp-o-soft); border-radius: 10px; padding: 10px 14px; font-weight: 600; margin: 0 0 16px; }
.cpdcp-bk-cats { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 0 8px; }
.cpdcp-bk-cat { flex: 0 0 auto; width: 84px; border: 1px solid var(--cpdcp-o-line); border-radius: 12px; background: #fff; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; line-height: 1.2; text-align: center; }
.cpdcp-bk-cat img, .cpdcp-bk-cat-all { width: 64px; height: 56px; object-fit: contain; border-radius: 8px; margin: 0 !important; }
.cpdcp-bk-cat-all { display: flex; align-items: center; justify-content: center; background: var(--cpdcp-o-soft); font-weight: 700; color: var(--cpdcp-o-muted); }
.cpdcp-bk-cat.is-on { border: 2px solid var(--cpdcp-o-accent); padding: 5px; color: var(--cpdcp-o-accent); font-weight: 600; }
.cpdcp-bk-filters { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, minmax(120px, 170px)); gap: 10px; margin: 0 0 18px; align-items: center; }
.cpdcp-bk-filters label { margin: 0 !important; padding: 0 !important; display: block; min-width: 0; width: auto !important; float: none !important; }
.cpdcp-bk-filters label[hidden] { display: none !important; }
.cpdcp-o .cpdcp-bk-filters input, .cpdcp-o .cpdcp-bk-filters select { display: block; box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; height: 44px !important; min-height: 0 !important; line-height: normal; border: 1px solid var(--cpdcp-o-line) !important; border-radius: 10px !important; padding: 0 12px !important; background-color: #fff; font: inherit; font-size: 14px; color: var(--cpdcp-o-ink); margin: 0 !important; box-shadow: none !important; }
.cpdcp-bk-grid { display: grid; grid-template-columns: repeat(var(--cpdcp-bk-cols), minmax(0, 1fr)); gap: 20px; }
.cpdcp-bk-card { border: 1px solid var(--cpdcp-o-line); border-radius: 18px; background: #fff; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.cpdcp-bk-card:hover { box-shadow: 0 8px 28px rgba(16, 18, 24, .08); }
.cpdcp-bk-card.is-added { box-shadow: 0 0 0 2px var(--cpdcp-o-ok); }
.cpdcp-bk-img { display: block; aspect-ratio: 4 / 3; max-height: 260px; width: 100%; background: #fff; border-bottom: 1px solid var(--cpdcp-o-line); }
.cpdcp-bk-img img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; margin: 0 !important; border-radius: 0 !important; max-width: none !important; }
.cpdcp-bk-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cpdcp-bk-name { font-size: 17px !important; font-weight: 800 !important; line-height: 1.25; }
.cpdcp-bk-name a { color: inherit !important; text-decoration: none !important; }
.cpdcp-bk-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.cpdcp-bk-stock { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .02em; }
.cpdcp-bk-stock.is-in { background: #e8f6ee; color: var(--cpdcp-o-ok); border: 1px solid #bfe6cf; }
.cpdcp-bk-stock.is-out { background: #fdecea; color: #b3261e; border: 1px solid #f5c2bd; }
.cpdcp-bk-meta { font-size: 13px; color: var(--cpdcp-o-muted); margin: 0; }
.cpdcp-bk-h b { color: var(--cpdcp-o-ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
.cpdcp-bk-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cpdcp-bk-price strong { font-size: 20px; font-weight: 800; color: var(--cpdcp-o-accent); }
.cpdcp-bk-moq { font-size: 13px; color: var(--cpdcp-o-muted); }
.cpdcp-bk-moq b { color: var(--cpdcp-o-ink); }
.cpdcp-bk-h { font-size: 12px !important; font-weight: 700 !important; letter-spacing: .04em !important; text-transform: uppercase !important; color: var(--cpdcp-o-muted) !important; margin: 4px 0 0 !important; }
.cpdcp-bk-swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cpdcp-bk-sw { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); padding: 0; box-shadow: inset 0 0 0 2px #fff; }
.cpdcp-bk-sw.is-on { outline: 2px solid var(--cpdcp-o-accent); outline-offset: 2px; }
.cpdcp-bk-sw-n { position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--cpdcp-o-ink); color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; display: none; }
.cpdcp-bk-sw.has-qty .cpdcp-bk-sw-n { display: block; }
.cpdcp-bk-more { border: 0; background: none; color: var(--cpdcp-o-muted); font-size: 13px; padding: 4px; }
.cpdcp-bk-cname { margin: 0; font-weight: 600; font-size: 14px; }
.cpdcp-bk-sizes { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 4px; }
.cpdcp-bk-sizes .cpdcp-o-size { padding: 4px 2px 5px; gap: 2px; border-radius: 8px; }
.cpdcp-bk-sizes .cpdcp-o-size-name { font-size: 12px; }
.cpdcp-bk-sizes .cpdcp-o-qty { gap: 0; }
.cpdcp-bk-sizes .cpdcp-o-qty button { width: 16px; height: 22px; font-size: 15px; }
.cpdcp-o .cpdcp-bk-sizes .cpdcp-o-qty input { width: 28px !important; height: 22px !important; font-size: 12px; padding: 0 !important; border-radius: 4px; }
.cpdcp-bk-hint { font-size: 13px; font-weight: 600; color: var(--cpdcp-o-accent); margin: 0; }
.cpdcp-bk-hint.is-on { color: var(--cpdcp-o-ok); }
.cpdcp-bk-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--cpdcp-o-line); }
.cpdcp-bk-sum { flex: 1 1 120px; display: flex; flex-direction: column; font-size: 13px; color: var(--cpdcp-o-muted); line-height: 1.25; min-width: 0; }
.cpdcp-bk-sum b { color: var(--cpdcp-o-ink); }
.cpdcp-bk-sum strong { font-size: 17px; color: var(--cpdcp-o-muted); }
.cpdcp-bk-sum.has-qty strong { color: var(--cpdcp-o-accent); }
.cpdcp-bk-foot .cpdcp-o-btn { flex: 1 1 auto; padding: 8px 12px; min-height: 42px; font-size: 14px; }
.cpdcp-bk-none { text-align: center; color: var(--cpdcp-o-muted); padding: 30px 0; }
.cpdcp-bk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; background: #fff; border-top: 1px solid var(--cpdcp-o-line); box-shadow: 0 -6px 20px rgba(16, 18, 24, .06); }
.cpdcp-bk-bar-in { max-width: 1200px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 16px; }
.cpdcp-bk-bar-left { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.cpdcp-bk-bar-left small, .cpdcp-bk-bar-right small { color: var(--cpdcp-o-muted); font-size: 12px; }
.cpdcp-bk-bar-right { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.cpdcp-bk-bar-right strong { font-size: 18px; }
.cpdcp-bk-bar.is-empty .cpdcp-o-btn { opacity: .45; pointer-events: none; }
.cpdcp-bk-bar.is-flash { animation: cpdcp-flash .8s ease; }
@keyframes cpdcp-flash { 0% { background: color-mix(in srgb, var(--cpdcp-o-ok) 18%, #fff); } 100% { background: #fff; } }

@media (max-width: 1024px) {
	.cpdcp-bk-grid { grid-template-columns: repeat(min(2, var(--cpdcp-bk-cols)), minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.cpdcp-cz { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "left" "right"; row-gap: 18px; }
	.cpdcp-cz-left { position: static; }
	.cpdcp-cz-opts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.cpdcp-bk-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cpdcp-bk-filters .cpdcp-bk-search { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.cpdcp-bk-grid { grid-template-columns: minmax(0, 1fr); }
	.cpdcp-cz-view { grid-template-columns: minmax(0, 1fr); }
	.cpdcp-cz-thumbs { flex-direction: row; order: 2; }
	.cpdcp-cz-thumb { width: 72px; }
	.cpdcp-cz-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cpdcp-cz-hint { text-align: left; }
	.cpdcp-cz-total { padding: 10px 12px; gap: 10px; bottom: 8px; }
	.cpdcp-cz-total strong { font-size: 20px; }
	.cpdcp-cz-total .cpdcp-o-btn { min-width: 0; min-height: 46px; font-size: 15px; flex: 0 0 auto; }
	.cpdcp-cz-price strong { font-size: 26px; }
	.cpdcp-bk-sum { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .cpdcp-bk-bar.is-flash { animation: none; } }
