.zpo {
--zpo-accent: #111;
--zpo-line: #e4e4e7;
--zpo-soft: #f6f6f7;
--zpo-text: #18181b;
--zpo-muted: #71717a;
--zpo-error: #dc2626;
--zpo-radius: 14px;
display: flex;
flex-direction: column;
gap: 26px;
margin: 8px 0 26px;
color: var(--zpo-text);
width: 100%;
clear: both;
}
.zpo *, .zpo *::before, .zpo *::after { box-sizing: border-box; } .zpo label, .zpo .zpo-label { text-transform: none; letter-spacing: normal; }
.zpo label { font-weight: inherit; margin: 0; } .zpo-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.zpo-step {
flex: 0 0 26px; height: 26px; border-radius: 50%;
display: inline-flex; align-items: center; justify-content: center;
font-size: 13px; font-weight: 700; line-height: 1;
background: var(--zpo-soft); color: var(--zpo-text); border: 1px solid var(--zpo-line);
transition: background .2s, color .2s, border-color .2s;
}
.zpo-field.is-done .zpo-step { background: var(--zpo-accent); border-color: var(--zpo-accent); color: #fff; }
.zpo-label { font-size: 15px; font-weight: 700; letter-spacing: .01em; margin: 0; line-height: 1.3; }
.zpo-req { color: var(--zpo-error); text-decoration: none; }
.zpo-opt { font-weight: 500; font-size: 12px; color: var(--zpo-muted); margin-left: 4px; text-transform: lowercase; }
.zpo-check { margin-left: auto; width: 18px; height: 18px; opacity: 0; transform: scale(.6); transition: .2s; }
.zpo-field.is-done .zpo-check {
opacity: 1; transform: none;
background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.zpo-desc { margin: -4px 0 10px 36px; font-size: 13px; line-height: 1.45; color: var(--zpo-muted); }
.zpo-desc-price { margin-top: 6px; }
.zpo-field > .zpo-cards, .zpo-field > .zpo-chips, .zpo-field > .zpo-select-wrap, .zpo-field > .zpo-input-wrap { margin-left: 36px; } .zpo-choice { position: relative; display: block; margin: 0; cursor: pointer; }
.zpo-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.zpo-choice-in {
display: flex; flex-direction: column; justify-content: center; gap: 2px;
height: 100%;
border: 1.5px solid var(--zpo-line); border-radius: var(--zpo-radius);
background: #fff;
transition: border-color .15s, box-shadow .15s, background .15s, transform .1s;
}
.zpo-choice:hover .zpo-choice-in { border-color: #a1a1aa; }
.zpo-choice:active .zpo-choice-in { transform: scale(.98); }
.zpo-choice input:focus-visible + .zpo-choice-in { outline: 2px solid var(--zpo-accent); outline-offset: 2px; }
.zpo-choice input:checked + .zpo-choice-in {
border-color: var(--zpo-accent);
box-shadow: 0 0 0 1px var(--zpo-accent), 0 6px 16px rgba(0,0,0,.08);
}
.zpo-choice-title { font-weight: 700; font-size: 14px; line-height: 1.2; }
.zpo-choice-hint { font-size: 12px; color: var(--zpo-muted); line-height: 1.3; }
.zpo-price { font-size: 12px; font-weight: 700; color: #15803d; white-space: nowrap; }
.zpo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.zpo-cards .zpo-choice-in { padding: 16px 16px 16px 44px; min-height: 58px; position: relative; }
.zpo-cards .zpo-choice-in::before {
content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
border-radius: 50%; border: 1.5px solid #a1a1aa; background: #fff; transition: .15s;
}
.zpo-cards .zpo-choice input:checked + .zpo-choice-in::before { border: 5.5px solid var(--zpo-accent); }
.zpo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.zpo-chips .zpo-choice-in { padding: 9px 14px; min-width: 52px; text-align: center; align-items: center; border-radius: 10px; }
.zpo-chips .zpo-choice-title { font-size: 13px; }
.zpo-chips .zpo-choice-hint { font-size: 11px; }
.zpo-chips .zpo-choice input:checked + .zpo-choice-in { background: var(--zpo-accent); color: #fff; }
.zpo-chips .zpo-choice input:checked + .zpo-choice-in .zpo-choice-hint,
.zpo-chips .zpo-choice input:checked + .zpo-choice-in .zpo-price { color: rgba(255,255,255,.8); } .zpo-select-wrap { position: relative; }
.zpo-select-wrap select {
width: 100%; appearance: none; -webkit-appearance: none;
height: 48px; padding: 0 40px 0 14px; margin: 0;
border: 1.5px solid var(--zpo-line); border-radius: 12px; background: #fff;
font: inherit; font-size: 14px; color: var(--zpo-text);
}
.zpo-select-wrap::after {
content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); pointer-events: none;
}
.zpo-select-wrap select:focus { border-color: var(--zpo-accent); outline: none; } .zpo-input-wrap { position: relative; }
.zpo .zpo-text {
width: 100%; height: 48px; padding: 0 56px 0 14px; margin: 0;
border: 1.5px solid var(--zpo-line); border-radius: 12px; background: #fff;
font: inherit; font-size: 15px; color: var(--zpo-text); box-shadow: none;
}
.zpo .zpo-text:focus { border-color: var(--zpo-accent); outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.zpo .zpo-text.zpo-upper { text-transform: uppercase; }
.zpo .zpo-text::placeholder { color: #a1a1aa; text-transform: none; }
.zpo-count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--zpo-muted); font-variant-numeric: tabular-nums; } .zpo-toggle {
display: flex; align-items: center; gap: 16px; margin: 0; cursor: pointer;
padding: 16px 18px; border: 1.5px solid var(--zpo-line); border-radius: var(--zpo-radius);
background: linear-gradient(135deg, #fff 0%, var(--zpo-soft) 100%);
transition: border-color .15s, box-shadow .15s;
}
.zpo-toggle:hover { border-color: #a1a1aa; }
.zpo-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.zpo-toggle-body { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.zpo-toggle-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.zpo-toggle-title { font-weight: 700; font-size: 15px; }
.zpo-toggle .zpo-price { background: #dcfce7; padding: 3px 8px; border-radius: 99px; }
.zpo-toggle-desc { font-size: 13px; color: var(--zpo-muted); line-height: 1.45; }
.zpo-switch { flex: 0 0 46px; height: 26px; border-radius: 99px; background: #d4d4d8; position: relative; transition: background .2s; }
.zpo-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.zpo-toggle:has(input:checked) { border-color: var(--zpo-accent); box-shadow: 0 0 0 1px var(--zpo-accent); }
.zpo-toggle input:checked ~ .zpo-switch { background: var(--zpo-accent); }
.zpo-toggle input:checked ~ .zpo-switch::after { transform: translateX(20px); }
.zpo-toggle input:focus-visible ~ .zpo-switch { outline: 2px solid var(--zpo-accent); outline-offset: 2px; } .zpo-personal-grid {
display: grid; grid-template-columns: minmax(130px, 42%) 1fr; gap: 18px; align-items: center;
margin-left: 36px; padding: 16px; border-radius: var(--zpo-radius); background: var(--zpo-soft);
}
.zpo-personal-inputs { display: flex; flex-direction: column; gap: 14px; }
.zpo .zpo-sublabel { display: block; font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.zpo-subfield .zpo-desc { margin: 6px 0 0; font-size: 12px; }
.zpo-personal .zpo-shirt { max-width: 240px; justify-self: center; } .zpo-summary { border-top: 1px solid var(--zpo-line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.zpo-sum-row { display: flex; justify-content: space-between; gap: 12px; color: var(--zpo-muted); }
.zpo-sum-row > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zpo-sum-extras:empty { display: none; }
.zpo-sum-extras { display: flex; flex-direction: column; gap: 6px; }
.zpo-sum-total { color: var(--zpo-text); font-weight: 800; font-size: 17px; padding-top: 6px; margin-top: 2px; border-top: 1px dashed var(--zpo-line); } .zpo-field.has-error .zpo-choice-in,
.zpo-field.has-error .zpo-text,
.zpo-field.has-error select,
.zpo-subfield.has-error .zpo-text { border-color: var(--zpo-error); }
.zpo-field.has-error .zpo-step { background: var(--zpo-error); border-color: var(--zpo-error); color: #fff; }
.zpo-field.has-error { animation: zpo-shake .35s; }
.zpo-error-msg { margin: 8px 0 0 36px; color: var(--zpo-error); font-size: 13px; font-weight: 600; }
@keyframes zpo-shake { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (max-width: 600px) {
.zpo { gap: 22px; }
.zpo-desc, .zpo-error-msg { margin-left: 0; }
.zpo-field > .zpo-cards, .zpo-field > .zpo-chips, .zpo-field > .zpo-select-wrap, .zpo-field > .zpo-input-wrap { margin-left: 0; }
.zpo-personal-grid { margin-left: 0; grid-template-columns: 1fr; }
.zpo-personal .zpo-shirt { max-width: 200px; }
.zpo-cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .zpo * { transition: none !important; animation: none !important; } } form.cart:has(.zpo) { flex-wrap: wrap; }
form.cart .zpo { flex: 0 0 100%; } @media (min-width: 992px) {
.zpo-sticky-row { display: flex !important; flex-wrap: wrap; align-items: stretch; }
.zpo-sticky-row::before, .zpo-sticky-row::after { content: none !important; display: none !important; }
.zpo-sticky-col > .vc_column-inner,
.zpo-sticky-self { position: sticky !important; top: var(--zpo-sticky-top, 100px); transition: top .25s ease; }
} .woocommerce-product-gallery__image img.zpo-swapping { opacity: .35; transition: opacity .25s ease; }
.woocommerce-product-gallery__image img { transition: opacity .25s ease; }