/* BG Elite Foto — minimalistički kalkulator UX v0.4.0
 * Namespaced to .bgeux; never changes Highend/WPBakery or legacy catalog styling.
 */
.bgeux {
  --bgeux-bg:#0c0c0f; --bgeux-panel:#111114; --bgeux-panel2:#18171b;
  --bgeux-panel3:#211e20; --bgeux-line:#343035; --bgeux-gold:#d9ad68;
  --bgeux-cream:#f1eeeb; --bgeux-muted:#a9a2a7; --bgeux-subtle:#7e777d;
  font-family:'Geist',Arial,sans-serif!important;
  font-size:14px; color:var(--bgeux-cream); line-height:1.4;
}
.bgeux, .bgeux *, .bgeux *::before, .bgeux *::after { box-sizing:border-box }
.bgeux [hidden] {display:none!important}
.bgeux button, .bgeux input {font-family:inherit}
.bgeux button {cursor:pointer; text-transform:none; box-shadow:none; border-radius:0; letter-spacing:normal}
.bgeux button:focus-visible,.bgeux input:focus-visible,.bgeux summary:focus-visible {outline:2px solid #e4b876;outline-offset:3px}
.bgeux button:disabled {cursor:default}
body.bgeux-body-locked { overflow:hidden!important }
.bgeux .overlay {position:fixed;inset:0;display:grid;place-items:center;background:rgba(4,4,6,.79);padding:24px;z-index:2147482000;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.bgeux .modal {display:block!important;position:relative;width:min(1160px,100%);max-width:1160px;max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;background:var(--bgeux-panel);border:1px solid #494048;box-shadow:0 40px 130px #000a;color:var(--bgeux-cream)}
.bgeux .modal-header {padding:25px 31px 22px;border-bottom:1px solid var(--bgeux-line);display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.bgeux .micro {font:700 10px 'Geist Mono',ui-monospace,monospace;letter-spacing:.105em;color:var(--bgeux-gold)}
.bgeux .modal-title {font-size:clamp(26px,3.2vw,38px);font-weight:650;letter-spacing:-.055em;line-height:1.1;margin:9px 0 5px;color:var(--bgeux-cream)}
.bgeux .subtitle {font-size:13px;color:var(--bgeux-muted);margin:0;line-height:1.5}
.bgeux .close {flex:0 0 36px;width:36px;height:36px;padding:0;font-size:26px;background:#1c1a1f;border:1px solid #51474f;color:#ddd;line-height:1}
.bgeux .close:hover {background:#302930}
.bgeux .quickbar {display:flex;gap:8px;align-items:center;padding:14px 31px;border-bottom:1px solid var(--bgeux-line);flex-wrap:wrap}
.bgeux .pill {color:#b5adb1;background:transparent;padding:10px 15px;border:1px solid #3d363c;font-size:12px;font-weight:600;min-height:39px;transition:color .2s,border-color .2s,background .2s}
.bgeux .pill.selected {border-color:var(--bgeux-gold);background:#2b2424;color:#f0c58d}
.bgeux .pill:hover {border-color:#c2a17b;color:#fff}
.bgeux .flexspacer {flex:1}
.bgeux .text-action {font-size:11px;color:#b9b1b6;background:none;border:0;padding:7px 0;text-decoration:underline;text-decoration-color:#655860;text-underline-offset:5px}
.bgeux .text-action:hover {color:#fff}
.bgeux .columns {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(285px,.95fr);min-height:495px}
.bgeux .form {padding:29px 31px 30px;min-width:0}
.bgeux .eyebrow,.bgeux .sectionlabel {font:700 9px 'Geist Mono',ui-monospace,monospace;letter-spacing:.14em;color:#ac8b72;margin:0 0 9px}
.bgeux .form h2 {font-size:25px;font-weight:650;letter-spacing:-.055em;margin:0 0 5px;line-height:1.22;color:var(--bgeux-cream)}
.bgeux .hint {font-size:12px;color:var(--bgeux-muted);line-height:1.6;margin:0 0 18px}
.bgeux .size-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.bgeux .size-card {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:9px;min-height:141px;padding:12px 5px 11px;color:#e6dfe1;background:#1a191c;border:1px solid #454046;transition:background .2s,border-color .2s,transform .25s}
.bgeux .size-card:hover {transform:translateY(-2px);border-color:#ab8a6f}
.bgeux .size-card.active {background:#282122;border-color:var(--bgeux-gold)}
.bgeux .size-card.active::after {content:'✓';position:absolute;right:11px;top:9px;color:var(--bgeux-gold);font-size:13px}
.bgeux .photo-paper {width:var(--w);height:var(--h);max-height:92px;max-width:88px;display:block;background:linear-gradient(142deg,#dbd7d4,#a8a3a4 55%,#818086);border:1px solid #bbb4af;box-shadow:2px 3px 12px #0005, inset 0 0 9px #fff2}
.bgeux .size-card strong {font-size:12px;font-weight:650;white-space:nowrap}
.bgeux .size-card small {font-size:10px;color:#a49ca2}
.bgeux .rest-toggle {width:100%;border:1px solid #484048;background:#1b191e;color:#e6c9a6;min-height:37px;margin-top:10px;font:600 11px 'Geist',Arial,sans-serif}
.bgeux .rest-toggle:hover {background:#272127}
.bgeux .more-sizes {margin-top:10px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.bgeux .more-size {min-height:41px;background:#1a191c;border:1px solid #3c373e;color:#d1c9cb;font-size:11px;font-weight:600;padding:7px}
.bgeux .more-size.active {border-color:var(--bgeux-gold);color:var(--bgeux-gold);background:#2b2425}
.bgeux .section-gap {margin-top:23px;padding-top:21px;border-top:1px solid var(--bgeux-line)}
.bgeux .paper-row {display:flex;gap:9px;flex-wrap:wrap}
.bgeux .paper-btn {border:1px solid #51464c;background:#1b1a1e;color:#e4dce0;padding:12px 16px;font-size:12px;font-weight:600;min-width:117px;text-align:left}
.bgeux .paper-btn.active {border-color:var(--bgeux-gold);background:#292222;color:#f5cf99}
.bgeux .qtyrow {display:flex;align-items:center;justify-content:space-between;gap:15px}
.bgeux .qtydesc {font-size:12px;color:#9e969d;margin:5px 0 0}
.bgeux .qtycontrol {display:flex;align-items:center;flex:none}
.bgeux .qtycontrol button {width:42px;height:44px;padding:0;background:#211e22;border:1px solid #51454c;color:#e8e1e5;font-size:20px}
.bgeux .qtycontrol button:hover {background:#332a32}
.bgeux .qtycontrol input {width:87px;height:44px;background:#111014;border:1px solid #51454c;border-left:0;border-right:0;color:#fff;font-size:20px;text-align:center;border-radius:0;appearance:textfield;padding:0 4px}
.bgeux .qtycontrol input::-webkit-inner-spin-button {-webkit-appearance:none}
.bgeux .progress-wrap {margin-top:17px;background:#242024;padding:14px 15px;border-left:2px solid var(--bgeux-gold);animation:bgeux-rise .35s ease both}
.bgeux .progress-heading {display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:9px}
.bgeux .progress-heading strong {font-size:12px;color:#f2dfc1;font-weight:600}
.bgeux .progress-heading small {font-size:10px;color:#a5a0a2;white-space:nowrap}
.bgeux .progress-track {height:4px;background:#50434a;overflow:hidden}
.bgeux .progress-fill {height:100%;width:0;background:linear-gradient(90deg,var(--bgeux-gold),#f5d9a2);transition:width .55s cubic-bezier(.2,.8,.25,1)}
.bgeux .footrow {padding-top:18px;border-top:1px solid var(--bgeux-line);margin-top:21px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.bgeux .faq,.bgeux .detail-btn {font-size:11px;border:0;background:transparent;color:#a9a0a6;padding:0;text-align:left}
.bgeux .faq {text-decoration:underline;text-decoration-color:#5c5056;text-underline-offset:5px}
.bgeux .faq:hover,.bgeux .detail-btn:hover {color:#eec68e}
.bgeux .detail-btn {display:inline-flex;align-items:center;gap:9px;color:#c2b8ba;padding:6px 0}
.bgeux .detail-btn i {font-style:normal;font-size:15px;transition:transform .2s}
.bgeux .detail-btn.open i {transform:rotate(180deg)}
.bgeux .detail-panel {padding:14px;margin-top:12px;background:#1d1b1e;border:1px solid #3c363d;animation:bgeux-rise .25s ease}
.bgeux .detail-row {font-size:11px;display:flex;justify-content:space-between;gap:15px;color:#c5bfc1;padding:5px 0}
.bgeux .detail-row strong {font-weight:600;color:#f5e2cd;text-align:right}
.bgeux .receipt {padding:34px 29px;background:linear-gradient(175deg,#1b191d,#151418);border-left:1px solid var(--bgeux-line);display:flex;flex-direction:column;gap:0;min-width:0}
.bgeux .receipt-head {font:700 10px 'Geist Mono',ui-monospace,monospace;letter-spacing:.13em;color:var(--bgeux-gold)}
.bgeux .receipt-kind {font-size:12px;color:#c3bbc0;margin:28px 0 6px}
.bgeux .receipt-meta {font-size:13px;color:#e7dfe1;font-weight:600;margin:0}
.bgeux .total-label {font:600 10px 'Geist Mono',ui-monospace,monospace;color:#b5a6a0;letter-spacing:.08em;margin-top:38px}
.bgeux .total {font-size:clamp(39px,4vw,54px);letter-spacing:-.07em;line-height:1.2;font-weight:650;color:#e3b978;margin:8px 0 6px;font-variant-numeric:tabular-nums;transition:transform .25s,color .25s}
.bgeux .total.bump {animation:bgeux-pop .48s ease}
.bgeux .receipt-unit {font-size:12px;color:#b5aeb4;margin:0 0 24px}
.bgeux .receipt-lines {padding-top:18px;border-top:1px solid #3d343a}
.bgeux .receipt-line {display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#bfb5ba;line-height:1.5;margin:10px 0}
.bgeux .receipt-line b {color:#ebe2e4;font-weight:600}
.bgeux .receipt-line--subtotal {border-top:1px solid #4d4248;padding-top:13px;margin-top:15px;color:#f2e4d4;font-weight:650}
.bgeux .receipt-line--subtotal b {color:var(--bgeux-gold);font-size:13px}

.bgeux .receipt-spacer {flex:1;min-height:10px}
.bgeux .receipt-note {font-size:11px;line-height:1.6;color:#8b828a;border-top:1px solid #3d343a;padding-top:17px;margin:22px 0 0}
.bgeux .doc-list {display:flex;flex-direction:column;gap:8px}
.bgeux .doc-choice {width:100%;border:1px solid #413c43;background:#1b191d;display:flex;align-items:center;gap:13px;padding:14px 15px;color:#f3eeef;text-align:left;min-height:69px}
.bgeux .doc-choice:hover {border-color:#907a65}
.bgeux .doc-choice.active {border-color:var(--bgeux-gold);background:#2a2325}
.bgeux .radio {height:18px;width:18px;border-radius:50%;border:1px solid #a1979d;flex:none;display:grid;place-items:center}
.bgeux .doc-choice.active .radio {border-color:var(--bgeux-gold)}
.bgeux .doc-choice.active .radio:after {content:'';width:8px;height:8px;border-radius:50%;background:var(--bgeux-gold)}
.bgeux .doc-word {flex:1;min-width:0}
.bgeux .doc-word strong,.bgeux .doc-word small {display:block}
.bgeux .doc-word strong {font-size:12px;font-weight:650}
.bgeux .doc-word small {font-size:11px;color:#aaa2a6;margin-top:4px}
.bgeux .doc-cost {color:#e6b97d;font-weight:700;font-size:14px;white-space:nowrap}
.bgeux .extras {display:flex;flex-direction:column;gap:8px}
.bgeux .extra {display:flex;align-items:center;gap:12px;padding:11px 14px;background:#1c1a1e;border:1px solid #3e383f;cursor:pointer}
.bgeux .extra:has(input:checked) {background:#292324;border-color:#9c7857}
.bgeux .extra input {appearance:none;width:17px;height:17px;border:1px solid #867780;border-radius:0;background:transparent;display:grid;place-items:center;margin:0;flex:none}
.bgeux .extra input:checked {background:var(--bgeux-gold);border-color:var(--bgeux-gold)}
.bgeux .extra input:checked:after {content:'✓';font-size:13px;color:#181316;font-weight:700}
.bgeux .extra span {font-size:11px;color:#e4dadf;flex:1}
.bgeux .extra strong {font-size:12px;color:#e4b97d;white-space:nowrap}
.bgeux .doc-helper {font-size:11px;color:#aaa0a7;line-height:1.6;margin:10px 0 0}
.bgeux .faq-panel {margin-top:12px;padding:13px 14px;border:1px solid #3c363d;background:#1d1b1e;font-size:12px;color:#c1b7bd;line-height:1.55}
.bgeux .faq-panel p {margin:0 0 8px;font-size:12px;color:#c1b7bd}
.bgeux .faq-panel p:last-child {margin:0}
.bgeux .toast {position:fixed;top:34px;left:50%;transform:translate(-50%,-10px);background:var(--bgeux-gold);color:#1d191c;padding:14px 20px;box-shadow:0 12px 38px #0007;font-weight:700;font-size:12px;z-index:2147482100;opacity:0;pointer-events:none;transition:opacity .32s,transform .32s;max-width:90%;text-align:center}
.bgeux .toast.show {opacity:1;transform:translate(-50%,0)}
@keyframes bgeux-rise {from {opacity:0;transform:translateY(9px)}to {opacity:1;transform:none}}
@keyframes bgeux-pop {0%{transform:scale(1);color:#e3b978}45%{transform:scale(1.026);color:#ffe1ad}100%{transform:scale(1);color:#e3b978}}
@media (max-width:800px) {
  .bgeux .overlay {padding:0}
  .bgeux .modal {width:100vw;max-height:100dvh;min-height:100dvh;border:0}
  .bgeux .modal-header {padding:20px 21px 17px}
  .bgeux .quickbar {padding:12px 20px}
  .bgeux .columns {display:flex;flex-direction:column}
  .bgeux .form {padding:23px 20px}
  .bgeux .receipt {border-left:0;border-top:1px solid var(--bgeux-line);padding:24px 20px;min-height:230px}
  .bgeux .receipt-kind {margin-top:14px}
  .bgeux .total-label {margin-top:17px}
  .bgeux .total {font-size:40px}
  .bgeux .size-grid {gap:7px}
  .bgeux .size-card {min-height:124px;padding:10px 3px}
  .bgeux .photo-paper {transform:scale(.85);transform-origin:bottom}
  .bgeux .more-sizes {grid-template-columns:repeat(3,1fr)}
}
@media (max-width:420px) {
  .bgeux .modal-title {font-size:27px}
  .bgeux .pill {font-size:10px;padding:9px 11px}
  .bgeux .size-card strong {font-size:10px}
  .bgeux .size-card {min-height:116px}
  .bgeux .photo-paper {transform:scale(.75)}
  .bgeux .qtycontrol button {width:35px;height:42px}
  .bgeux .qtycontrol input {width:69px;height:42px;font-size:18px}
  .bgeux .qtyrow {gap:9px}
  .bgeux .doc-choice {gap:9px;padding:12px 10px}
  .bgeux .doc-cost {font-size:12px}
  .bgeux .doc-word strong {font-size:11px}
  .bgeux .doc-word small {font-size:10px}
}
@media (prefers-reduced-motion:reduce) {
  .bgeux *, .bgeux *::before, .bgeux *::after {transition:none!important;animation:none!important}
}

/* v0.4.1 — single-dialog extension for the remaining catalogue services */
.bgeux .text-action.selected { color:var(--bgeux-gold);text-decoration-color:var(--bgeux-gold) }
.bgeux .service-categories { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0 5px }
.bgeux .service-category { min-height:48px;border:1px solid #474047;background:#201d20;color:#d8d0d5;padding:9px 7px;font-size:11px;font-weight:600;line-height:1.3;text-align:center }
.bgeux .service-category.active { background:#2c2526;border-color:var(--bgeux-gold);color:#f1d0a5 }
.bgeux .other-field label.sectionlabel {display:block;margin-bottom:8px}
.bgeux .other-field select { display:block;width:100%;min-height:44px;background:#1b191d;color:#f1e9eb;border:1px solid #51474e;border-radius:0;padding:8px 34px 8px 12px;font-size:13px;max-width:100% }
.bgeux .other-field select option { background:#1b191d;color:#eee }
.bgeux .other-description {margin:10px 0 0;line-height:1.5}
.bgeux .other-custom-check {display:flex;align-items:center;gap:10px;font-size:12px;color:#ddd3d8;cursor:pointer}
.bgeux .other-dimensions {display:flex;gap:12px;margin-top:14px}
.bgeux .other-dimensions label {flex:1;display:flex;flex-direction:column;gap:6px;font-size:11px;color:#aaa2aa}
.bgeux .other-dimensions input {background:#1b191d;border:1px solid #51474e;color:#f4eced;padding:10px;width:100%;border-radius:0}
.bgeux .bgepc-prices-embed {width:100%;max-width:none;min-width:0;max-height:none;overflow:visible}
.bgeux .bgepc-prices {padding:25px 31px 31px;background:#121114}
.bgeux .bgepc-prices-head h3 {color:#f2edec!important}
.bgeux .bgepc-price-tabs button {border-radius:0!important}
.bgeux .bgepc-prices-note {color:#b0a4ae!important}
@media(max-width:800px) {
 .bgeux .service-categories {grid-template-columns:repeat(2,minmax(0,1fr))}
 .bgeux .bgepc-prices {padding:22px 19px}
}


/* v0.4.3 | Highend/WPBakery fixed-overlay stacking-context fix.
   The JS moves [data-bgeux-app] under <body>, outside the theme's
   transformed/filtered containers. These overrides apply ONLY while open. */
body > .bgeux[data-bgeux-app] > #bgeux-dialog[hidden] {
  display: none !important;
}
body > .bgeux[data-bgeux-app] > #bgeux-dialog:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 2147483000 !important;
  pointer-events: auto !important;
}
body > .bgeux[data-bgeux-app] > .toast {
  z-index: 2147483100 !important;
}

/* v0.4.4 — cohesive category tabs, visual format gallery, unit-price tier bar */
.bgeux .quickbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding-block:13px}
.bgeux .service-main-tabs{display:contents}
.bgeux .quickbar .pill{flex:0 0 auto;font-size:11px;padding:10px 12px;min-height:37px}
.bgeux .quickbar .text-action{margin-left:auto}
.bgeux .more-sizes{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.bgeux .size-card-secondary{min-height:125px;padding:11px 5px 10px}
.bgeux .size-card-secondary .photo-paper{max-height:78px;max-width:78px;transform:scale(.8);transform-origin:center bottom}
.bgeux .progress-current{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:11px;margin-bottom:11px;border-bottom:1px solid #50434a}
.bgeux .progress-current span{font:600 10px 'Geist Mono',monospace;letter-spacing:.07em;color:#baafb5}
.bgeux .progress-current strong{font-size:18px;color:#f2ce97;font-variant-numeric:tabular-nums;white-space:nowrap}
.bgeux .progress-wrap{margin-top:15px}
@media(max-width:640px){.bgeux .more-sizes{grid-template-columns:repeat(3,minmax(0,1fr))}.bgeux .quickbar .pill{font-size:10px;padding:9px 10px}.bgeux .progress-current strong{font-size:16px}}

/* v0.4.5 — choices integrated into photo-print flow */
.bgeux .bgeux-source-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0 4px}
.bgeux .bgeux-source-choice{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:78px;padding:15px;background:#1b191d;border:1px solid #494047;color:#e8e1e1;text-align:left;min-width:0}
.bgeux .bgeux-source-choice.active{border-color:var(--bgeux-gold);background:#292323}
.bgeux .bgeux-source-choice strong,.bgeux .bgeux-express-choice strong{font-size:12px;font-weight:650}
.bgeux .bgeux-source-choice small,.bgeux .bgeux-express-choice small{font-size:11px;color:var(--bgeux-muted);line-height:1.45}
.bgeux .bgeux-source-note{margin:12px 0 0;color:var(--bgeux-muted);font-size:11px;line-height:1.5}
.bgeux .bgeux-express-choice{display:flex;gap:13px;align-items:center;padding:16px;background:#1d1b1e;border:1px solid #494047;cursor:pointer}
/* Clearly visible custom checkbox in dark modal (unchecked and checked). */
.bgeux .bgeux-express-choice input[type="checkbox"]{
  -webkit-appearance:none;appearance:none;box-sizing:border-box;
  width:22px;height:22px;min-width:22px;min-height:22px;
  margin:0;flex:0 0 22px;align-self:center;position:relative;
  border:2px solid #e8c18b;border-radius:2px;
  background:#101012;box-shadow:0 0 0 1px rgba(0,0,0,.35);
  cursor:pointer;opacity:1;vertical-align:middle;
}
.bgeux .bgeux-express-choice input[type="checkbox"]:checked{
  background:#e8c18b;border-color:#e8c18b;
}
.bgeux .bgeux-express-choice input[type="checkbox"]:checked::after{
  content:"";position:absolute;left:6px;top:2px;
  width:5px;height:10px;border:solid #161316;
  border-width:0 3px 3px 0;transform:rotate(45deg);
}
.bgeux .bgeux-express-choice input[type="checkbox"]:focus-visible{
  outline:2px solid #fff;outline-offset:4px;
}
.bgeux .bgeux-express-choice:hover input[type="checkbox"]:not(:checked){
  background:#342b2a;border-color:#ffdb9f;
}
.bgeux .bgeux-express-choice span{display:flex;flex:1;flex-direction:column;gap:5px}
.bgeux .bgeux-express-choice b{color:#e9c18c;font-size:12px;white-space:nowrap}
.bgeux .bgeux-express-choice:has(input:checked){border-color:var(--bgeux-gold);background:#292323}
.bgeux .bgeux-express-choice:has(input:disabled){opacity:.65;cursor:default}
@media(max-width:510px){.bgeux .bgeux-source-options{grid-template-columns:1fr}.bgeux .bgeux-express-choice{flex-wrap:wrap}.bgeux .bgeux-express-choice b{margin-left:30px}}

/* v0.4.10 — hide empty price disclosures; keep real explanatory details concise. */
.bgeux .detail-note{color:#c9bfc4;font-size:11px;line-height:1.6;margin:6px 0}
.bgeux .detail-note strong{color:#f1d3aa;font-weight:650}
.bgeux [data-bgeux="other-form"] .footrow{justify-content:flex-end}

/* v0.4.11 — quiet editorial motion inspired by modern design-engineering portfolios.
   No loops, external animation libraries, layout shift or rounded corners. */
.bgeux .overlay:not([hidden]) {animation:bgeux-backdrop-enter .26s ease-out both}
.bgeux .overlay:not([hidden]) .modal {animation:bgeux-modal-enter .34s cubic-bezier(.22,1,.36,1) both}

/* A precise, restrained active-state marker, instead of an ornamental glow. */
.bgeux .quickbar .pill {position:relative;overflow:hidden}
.bgeux .quickbar .pill::after {content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--bgeux-gold);transform:scaleX(0);transform-origin:0 50%;transition:transform .26s cubic-bezier(.22,1,.36,1)}
.bgeux .quickbar .pill.selected::after {transform:scaleX(1)}
.bgeux .bgeux-source-choice {position:relative;overflow:hidden;transition:background .22s,border-color .22s,transform .22s}
.bgeux .bgeux-source-choice::after {content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--bgeux-gold);transform:scaleX(0);transform-origin:left center;transition:transform .28s cubic-bezier(.22,1,.36,1)}
.bgeux .bgeux-source-choice.active::after {transform:scaleX(1)}
.bgeux .size-card .photo-paper {transition:filter .23s ease,box-shadow .23s ease}
.bgeux .size-card.active .photo-paper {filter:brightness(1.08);box-shadow:2px 5px 14px #0007,inset 0 0 9px #fff3}
.bgeux .progress-fill {position:relative}
.bgeux .progress-fill::after {content:"";position:absolute;top:0;right:0;bottom:0;width:3px;background:#f9e2bd}
.bgeux .bgeux-express-choice {transition:background .2s,border-color .2s}
.bgeux .bgeux-express-choice input[type="checkbox"] {transition:background-color .2s,border-color .2s}
@media(hover:hover) and (pointer:fine) {
  .bgeux .bgeux-source-choice:hover {transform:translateY(-1px)}
  .bgeux .size-card:hover .photo-paper {filter:brightness(1.1);box-shadow:2px 6px 15px #0008,inset 0 0 9px #fff3}
}

/* Transitions are only restarted by deliberate actions, never by every rerender. */
.bgeux .bgeux-view-enter {animation:bgeux-content-enter .25s cubic-bezier(.22,1,.36,1) both}
.bgeux .more-sizes.bgeux-reveal {animation:bgeux-content-enter .26s cubic-bezier(.22,1,.36,1) both}
.bgeux .total.is-repricing {animation:bgeux-number-enter .25s cubic-bezier(.22,1,.36,1) both}
.bgeux .total.bump {animation:bgeux-pop .48s ease}
@keyframes bgeux-backdrop-enter {from{opacity:0}to{opacity:1}}
@keyframes bgeux-modal-enter {from{opacity:.85;transform:translateY(12px) scale(.994)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bgeux-content-enter {from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes bgeux-number-enter {from{opacity:.74;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce) {
 .bgeux .overlay:not([hidden]),
 .bgeux .overlay:not([hidden]) .modal,
 .bgeux .bgeux-view-enter,
 .bgeux .more-sizes.bgeux-reveal,
 .bgeux .total.is-repricing {animation:none!important;transform:none!important}
}

/* v0.4.13 — surface choice + clear, non-additive express rate. */
.bgeux .bgeux-finish-title{font-size:14px;line-height:1.4;font-weight:650;color:#f1eeeb;margin:0 0 12px;letter-spacing:-.01em}
.bgeux .bgeux-finish-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.bgeux .bgeux-finish-choice{display:flex;align-items:center;gap:13px;min-height:57px;text-align:left;padding:11px 14px;color:#e7dfe3;background:#1b191d;border:1px solid #51464c;font-size:12px;font-weight:650;transition:border-color .2s ease,background .2s ease}
.bgeux .bgeux-finish-choice:hover{border-color:#b29672}
.bgeux .bgeux-finish-choice.active{border-color:var(--bgeux-gold);background:#292323;color:#f4d5a7}
.bgeux .bgeux-finish-choice.active::after{content:'✓';margin-left:auto;color:var(--bgeux-gold);font-size:15px}
.bgeux .bgeux-finish-swatch{flex:0 0 31px;width:31px;height:31px;border:1px solid #b5acaa;display:block}
.bgeux .bgeux-finish-swatch--gloss{background:linear-gradient(125deg,#f1eeee 0%,#d9d6d5 34%,#89878a 35%,#c2bec0 74%,#6d6d71 100%);box-shadow:inset 4px 4px 12px #ffffff55,0 1px 6px #0006}
.bgeux .bgeux-finish-swatch--matte{background:linear-gradient(135deg,#d4d1cf,#a4a0a1 52%,#858386);box-shadow:inset 0 1px 5px #ffffff12}
.bgeux .bgeux-express-auto{display:flex;align-items:flex-start;gap:13px;padding:16px;background:#241f1e;border:1px solid var(--bgeux-gold);color:#f0e9e1}
.bgeux .bgeux-express-auto-mark{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:1px solid var(--bgeux-gold);background:var(--bgeux-gold);color:#191315;font-size:14px;font-weight:800}
.bgeux .bgeux-express-auto span:last-child{display:flex;flex:1;flex-direction:column;gap:6px}
.bgeux .bgeux-express-auto strong{font-size:12px;font-weight:650}
.bgeux .bgeux-express-auto small{font-size:11px;color:#bdb0b5;line-height:1.5}
@media(max-width:510px){.bgeux .bgeux-finish-choice{padding:10px;min-height:52px;gap:9px}.bgeux .bgeux-finish-swatch{flex-basis:26px;width:26px;height:26px}}

/* v0.4.15 — document photographs: editorial service cards and precise motion.
   New design is isolated to the document tab; all prices/calculations unchanged. */
.bgeux [data-bgeux="doc-form"] .doc-list{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;
}
.bgeux [data-bgeux="doc-form"] .doc-choice{
  display:flex;flex-direction:column;position:relative;isolation:isolate;
  width:100%;min-width:0;min-height:250px;padding:0;text-align:left;
  background:#1c191d;border:1px solid #464047;color:#f4eff0;overflow:hidden;
  transition:border-color .25s cubic-bezier(.22,1,.36,1),background .25s ease,transform .3s cubic-bezier(.22,1,.36,1);
}
.bgeux [data-bgeux="doc-form"] .doc-choice::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--bgeux-gold);transform:scaleX(0);transform-origin:left;
  transition:transform .38s cubic-bezier(.22,1,.36,1);z-index:3;
}
.bgeux [data-bgeux="doc-form"] .doc-choice.active{border-color:var(--bgeux-gold);background:#282122}
.bgeux [data-bgeux="doc-form"] .doc-choice.active::after{transform:scaleX(1)}
.bgeux .doc-card-art{
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
  flex:0 0 130px;height:130px;width:100%;background:
  radial-gradient(circle at 55% 68%,rgba(212,170,119,.11),transparent 58%),
  linear-gradient(138deg,#28242a 0%,#1b1a1e 52%,#242125 100%);
  border-bottom:1px solid #3e383e;
}
.bgeux .doc-card-art::before{
  content:"";pointer-events:none;position:absolute;inset:0;
  background:repeating-linear-gradient(0deg,transparent,transparent 19px,#ffffff07 20px),
             repeating-linear-gradient(90deg,transparent,transparent 19px,#ffffff07 20px);
  opacity:.45;
}
.bgeux .doc-card-art-note{
  position:absolute;top:10px;left:10px;z-index:2;color:#c4a886;
  font:600 9px 'Geist Mono',ui-monospace,monospace;letter-spacing:.08em;
}
.bgeux .doc-card-print{
  position:relative;display:block;overflow:hidden;padding:3px;background:#efebeb;
  box-shadow:0 8px 22px #0009,0 1px 0 #fff8;
  transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s ease;
}
.bgeux .doc-card-print--small{width:50px;height:65px;transform:translateY(0)}
.bgeux .doc-card-print--large{width:78px;height:98px;transform:translateY(0)}
.bgeux .doc-card-portrait{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;filter:none}
.bgeux .doc-card-file{
  position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;
  width:100px;height:86px;border:1px solid #80757c;background:#252227;
  box-shadow:4px 7px 19px #0009;transform:rotate(-2deg);
  transition:transform .4s cubic-bezier(.22,1,.36,1),border-color .25s;
}
.bgeux .doc-card-file-bar{display:flex;align-items:center;gap:3px;width:100%;height:16px;flex:0 0 16px;background:#333036;border-bottom:1px solid #655960;padding-left:6px}
.bgeux .doc-card-file-bar i{display:block;width:3px;height:3px;background:#96878e}
.bgeux .doc-card-file-thumb{display:block;width:34px;height:43px;margin-top:5px;background:#aaa2a2;overflow:hidden}
.bgeux .doc-card-file-name{font:600 8px 'Geist Mono',ui-monospace,monospace;letter-spacing:.02em;color:#d5c5b5;margin-top:4px}
.bgeux .doc-card-content{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0;width:100%;padding:13px 13px 12px}
.bgeux .doc-card-index{font:600 9px 'Geist Mono',ui-monospace,monospace;letter-spacing:.1em;color:#ab8c68;margin-bottom:8px}
.bgeux .doc-card-title{font:650 13px 'Geist',Arial,sans-serif;line-height:1.24;letter-spacing:-.02em;color:#f5eeec;min-height:17px}
.bgeux .doc-card-desc{font-size:10px;color:#aaa2a7;line-height:1.48;margin-top:6px;min-height:28px}
.bgeux .doc-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:auto;padding-top:12px}
.bgeux [data-bgeux="doc-form"] .doc-cost{font-size:15px;line-height:1;color:#e5bb81;letter-spacing:-.035em}
.bgeux .doc-card-select{font-size:18px;line-height:1;color:#8d7b7f;transition:transform .28s cubic-bezier(.22,1,.36,1),color .2s}
.bgeux .doc-choice.active .doc-card-select{color:#e9c18e;transform:rotate(45deg)}
.bgeux .doc-scale-note{font:500 10px 'Geist Mono',ui-monospace,monospace;color:#847e85;margin:10px 0 0}
.bgeux .doc-context{font-size:11px;line-height:1.6;color:#c6bcc1;border-left:2px solid #a6805c;background:#211c1e;padding:10px 12px;margin:14px 0 0}
.bgeux [data-bgeux="doc-form"] .extras{gap:7px}
.bgeux [data-bgeux="doc-form"] .extra{position:relative;transition:border-color .22s,background .22s;padding:13px 14px;min-height:48px}
.bgeux [data-bgeux="doc-form"] .extra input{border-color:#bba6a7;width:19px;height:19px;flex:0 0 19px}
.bgeux [data-bgeux="doc-form"] .extra input:checked{border-color:var(--bgeux-gold)}
.bgeux [data-bgeux="doc-form"] .extra:focus-within{outline:2px solid #e4b876;outline-offset:2px}
.bgeux [data-bgeux="doc-form"] .extra input:focus-visible{outline:0}
@media(hover:hover) and (pointer:fine){
  .bgeux [data-bgeux="doc-form"] .doc-choice:hover{border-color:#b89a74;transform:translateY(-2px)}
  .bgeux .doc-choice:hover .doc-card-print--small{transform:translateY(-3px)}
  .bgeux .doc-choice:hover .doc-card-print--large{transform:translateY(-3px)}
  .bgeux .doc-choice:hover .doc-card-file{transform:rotate(0) translateY(-3px);border-color:#b89a74}
  .bgeux .doc-choice:hover .doc-card-select{transform:translate(2px,-2px);color:#e9c18e}
  .bgeux .doc-choice.active:hover .doc-card-select{transform:rotate(45deg)}
}
/* Animate only when entering the tab; clicking a card retains focus and does not rebuild cards. */
.bgeux .bgeux-view-enter .doc-choice{animation:bgeux-doc-enter .42s cubic-bezier(.22,1,.36,1) both}
.bgeux .bgeux-view-enter .doc-choice:nth-child(2){animation-delay:.055s}
.bgeux .bgeux-view-enter .doc-choice:nth-child(3){animation-delay:.11s}
@keyframes bgeux-doc-enter{from{opacity:.15;transform:translateY(13px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px) and (min-width:801px){
 .bgeux [data-bgeux="doc-form"] .doc-list{gap:7px}
 .bgeux .doc-card-content{padding:10px 9px}
 .bgeux .doc-card-title{font-size:12px}
}
@media(max-width:580px){
 .bgeux [data-bgeux="doc-form"] .doc-list{grid-template-columns:1fr;gap:8px}
 .bgeux [data-bgeux="doc-form"] .doc-choice{flex-direction:row;align-items:stretch;min-height:104px}
 .bgeux .doc-card-art{flex:0 0 114px;width:114px;height:auto;min-height:112px;border-bottom:0;border-right:1px solid #3e383e}
 .bgeux .doc-card-content{padding:12px;justify-content:center}
 .bgeux .doc-card-index{margin-bottom:6px}
 .bgeux .doc-card-desc{min-height:0}
 .bgeux .doc-card-foot{padding-top:7px;margin-top:5px}
 .bgeux .doc-card-print--small{width:38px;height:50px}
 .bgeux .doc-card-print--large{width:62px;height:76px}
 .bgeux .doc-card-file{width:80px;height:72px}
 .bgeux .doc-card-file-thumb{width:26px;height:34px;margin-top:4px}
 .bgeux .doc-card-file-name{font-size:7px;margin-top:2px}
 .bgeux .doc-card-art-note{top:7px;left:7px;font-size:8px}
}
@media(prefers-reduced-motion:reduce){
 .bgeux .bgeux-view-enter .doc-choice{animation:none!important;transform:none!important}
 .bgeux .doc-card-print,.bgeux .doc-card-file,.bgeux .doc-card-select{transition:none!important}
}

/* v0.4.16: upright, neutral biometric-style example photos for ID/passport service cards. */
