:root{
  --order-bg:#101214;
  --order-surface:#191c1f;
  --order-surface-raised:#202428;
  --order-border:#303438;
  --order-muted:#b9bec2;
  --order-orange:#f47700;
  --order-radius:22px;
  --order-shadow:0 24px 70px rgba(0,0,0,.24);
}

.order-page,.admin-orders-page,.production-page{background:var(--order-bg);color:#fff;min-height:100dvh;padding:24px 16px 100px}
.order-shell,.admin-orders-shell,.production-shell{box-sizing:border-box;width:min(100%,1080px);margin:auto}
.order-shell{width:min(100%,980px)}
.admin-orders-shell,.production-shell{background:var(--order-surface);border:1px solid var(--order-border);border-radius:24px;padding:clamp(18px,4vw,36px)}
.order-back{min-height:46px;border:1px solid #3c4247;border-radius:12px;background:#24282c;color:#fff;padding:11px 14px;text-decoration:none;font-weight:800;margin-bottom:20px}
.order-back:hover{border-color:#62696f;transform:translateY(-1px)}
.order-eyebrow,.admin-orders-shell header>span,.production-shell header>span,.order-section-heading span,.order-next-step>span,.order-compact-summary>div>span{color:var(--order-orange);font-size:.76rem;font-weight:900;letter-spacing:.13em}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.order-progress{display:grid;grid-template-columns:repeat(4,1fr);padding:0;margin:0 0 clamp(38px,6vw,58px);list-style:none}
.order-progress li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;color:#747b80;text-align:center;font-size:.75rem}
.order-progress li:not(:last-child)::after{content:"";position:absolute;top:16px;left:calc(50% + 20px);right:calc(-50% + 20px);height:2px;background:#34393d}
.order-progress li.is-complete:not(:last-child)::after{background:var(--order-orange)}
.order-progress li span{display:grid;place-items:center;width:32px;height:32px;border:2px solid #464c51;border-radius:50%;background:var(--order-bg);font-weight:900;z-index:1}
.order-progress li.is-complete,.order-progress li.is-current{color:#fff}
.order-progress li.is-complete span{border-color:var(--order-orange);background:var(--order-orange);color:#111}
.order-progress li.is-current span{border-color:var(--order-orange);box-shadow:0 0 0 5px rgba(244,119,0,.13);color:var(--order-orange)}

.order-hero{display:flex;flex-direction:column;align-items:center;gap:clamp(38px,6vw,64px);padding:0 clamp(22px,5vw,54px) clamp(22px,5vw,54px);background:transparent;border:0;border-radius:0;text-align:center}
.order-hero__gallery{position:relative;width:min(100%,900px);background:transparent;overflow:visible}
.order-hero__products{display:grid;width:100%;align-items:center;justify-content:center;gap:clamp(20px,4vw,42px)}
.order-hero__products img{display:block;width:100%;height:auto;max-height:500px;aspect-ratio:1;object-fit:contain;border:0;border-radius:0;background:transparent;filter:drop-shadow(0 18px 24px rgba(0,0,0,.22));animation:order-product-enter .4s ease both}
.order-hero__products.has-count-1{grid-template-columns:minmax(0,560px)}
.order-hero__products.has-count-2{grid-template-columns:repeat(2,minmax(0,420px))}
.order-hero__products.has-count-3{grid-template-columns:repeat(3,minmax(0,280px))}
.order-hero__products.has-count-4{grid-template-columns:repeat(4,minmax(0,210px))}
.order-hero__gallery>span{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);padding:8px 13px;border:1px solid #41474c;border-radius:999px;background:rgba(16,18,20,.92);font-size:.78rem;font-weight:800;white-space:nowrap}
.order-hero__empty{display:grid;place-items:center;width:min(100%,720px);min-height:260px;margin:0;border-radius:24px;background:#15181a;color:#858c91;font-weight:750}
.order-hero__empty[hidden]{display:none}
.order-hero__copy{max-width:690px}.order-hero__copy h1{font-size:clamp(2rem,5vw,3.6rem);line-height:1.03;margin:.22em 0}
.order-hero__copy p{color:var(--order-muted);font-size:1.04rem;line-height:1.65;margin:0}

.order-code-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:22px;padding:clamp(22px,4vw,34px);border:1px solid rgba(244,119,0,.45);border-radius:var(--order-radius);background:linear-gradient(120deg,rgba(244,119,0,.13),rgba(244,119,0,.03)),var(--order-surface);box-shadow:0 16px 45px rgba(0,0,0,.17);animation:order-enter .35s ease both}
.order-code-card>div>span{font-size:.88rem;font-weight:850;color:#e8ebed}
.order-code-card strong{display:block;margin:.12em 0;font-size:clamp(2.1rem,8vw,4.4rem);line-height:1;letter-spacing:.045em;overflow-wrap:anywhere}
.order-code-card p{color:var(--order-muted);margin:.6rem 0 0}
.order-code-card button,.order-next-step button,.order-compact-summary button{min-height:50px;border:1px solid #454b50;border-radius:13px;padding:12px 18px;background:#282d31;color:#fff;font:inherit;font-weight:900}
.order-code-card button.is-primary,.order-next-step button.is-primary{background:var(--order-orange);border-color:var(--order-orange);color:#111}
.order-code-card button:hover,.order-next-step button:hover,.order-compact-summary button:hover{transform:translateY(-1px);filter:brightness(1.06)}

.order-overview{margin-top:48px}
.order-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:16px}
.order-section-heading h2,.order-next-step h2,.order-compact-summary h2{font-size:clamp(1.55rem,4vw,2.2rem);margin:.2rem 0 0}
.order-section-heading p{color:var(--order-muted);margin:0}
.order-items{display:grid;gap:10px}
.order-line-item{margin:0;padding:17px 20px;background:var(--order-surface);border:1px solid var(--order-border);border-radius:16px;animation:order-enter .3s ease both}
.order-line-item__top{display:flex;justify-content:space-between;align-items:center;gap:12px}.order-line-item__top strong{font-size:1.12rem;letter-spacing:.025em}
.order-line-item p{margin:7px 0 0;color:var(--order-muted);font-size:.9rem}
.order-line-item__reference{display:block;margin-top:7px;color:#747b80;font-size:.68rem;letter-spacing:.02em}

.order-next-step{margin-top:48px;padding:clamp(24px,5vw,44px);text-align:center;border:1px solid rgba(244,119,0,.35);border-radius:26px;background:radial-gradient(circle at 50% 0,rgba(244,119,0,.14),transparent 55%),var(--order-surface)}
.order-next-step>p{color:var(--order-muted);font-size:1.02rem}
.order-shop-cta{display:block;width:min(100%,440px);margin:22px auto 10px;font-size:1.05rem}
.order-next-step small{display:block;color:#92999e}
.order-next-step [data-shop-status]{margin:12px auto 0;max-width:600px;color:#e4aa76;font-size:.87rem}
.order-report-action{margin-top:24px;background:transparent!important}
.order-report-note{font-size:.82rem!important;margin:.6rem 0 0!important}

.order-trust{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:0;margin:18px auto 0;max-width:720px;list-style:none}
.order-trust li{display:flex;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:8px;border:1px solid var(--order-border);border-radius:13px;background:#171a1d;color:#cbd0d3;font-size:.78rem;text-align:center}
.order-trust span{color:var(--order-orange);font-weight:950}

.order-compact-summary{margin-top:38px;padding:clamp(20px,4vw,30px);border:1px solid var(--order-border);border-radius:var(--order-radius);background:var(--order-surface)}
.order-compact-summary dl{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:20px 0;background:var(--order-border);border:1px solid var(--order-border);border-radius:14px;overflow:hidden}
.order-compact-summary dl div{padding:16px;background:#171a1d}
.order-compact-summary dt{color:#92999e;font-size:.78rem}.order-compact-summary dd{margin:4px 0 0;font-size:1.2rem;font-weight:900}
.order-compact-summary>button{width:100%}
.order-compact-summary [data-copy-status]{min-height:1.2em;margin:10px 0 0;color:#79c99e;text-align:center}

.order-state{padding:clamp(42px,10vw,96px) clamp(18px,5vw,54px);text-align:center;background:var(--order-surface);border:1px solid var(--order-border);border-radius:26px;box-shadow:var(--order-shadow)}
.order-state__icon{display:grid;place-items:center;width:78px;height:78px;margin:0 auto 22px;border-radius:22px;background:rgba(244,119,0,.11);color:var(--order-orange)}
.order-state__icon svg{width:42px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.order-state h1{font-size:clamp(1.8rem,5vw,2.8rem);margin:.2em 0}.order-state>p{color:var(--order-muted);font-size:1rem}
.order-state__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:24px}
.order-state__actions button{min-height:48px;border:1px solid #3c4247;border-radius:12px;background:#24282c;color:#fff;padding:11px 16px;font-weight:800}.order-state__actions .is-primary{background:var(--order-orange);border-color:var(--order-orange);color:#101214}

.order-selection-bar{position:sticky;bottom:12px;background:#171a1d;border:1px solid var(--order-orange);border-radius:18px;padding:14px;z-index:3}
.order-controls{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin-top:12px}
.order-controls>[data-customer-image]{grid-column:1/-1}
.order-quantity{display:flex;align-items:center;gap:10px}.order-quantity button{width:42px;height:42px}

.admin-hub,.admin-section-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
.admin-hub__card,.admin-section-nav a,.admin-orders-shell button,.production-shell button{min-height:46px;box-sizing:border-box;border:1px solid #3c4247;border-radius:12px;background:#24282c;color:#fff;padding:11px 14px;text-decoration:none;font-weight:800}
.admin-hub__card{display:flex;flex-direction:column;gap:5px}.admin-hub__card span{color:#bcc1c5;font-size:.86rem}
.admin-hub__card.is-active,.admin-section-nav a.is-active{border-color:var(--order-orange);background:#332316}
.admin-order-toolbar,.production-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.admin-order-toolbar label,.production-actions label{flex:1}
.admin-orders-shell input,.admin-orders-shell textarea,.admin-orders-shell select,.production-shell input{box-sizing:border-box;width:100%;background:#0e1012;color:#fff;border:1px solid #41474d;border-radius:12px;padding:12px;font:inherit}
.admin-bundle-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:20px}
.admin-bundle-card{display:flex;width:100%;flex-direction:column;text-align:left;margin:10px 0}.admin-bundle-card span{color:var(--order-orange)}.admin-bundle-card small{color:#bfc4c7}
.production-item,.admin-bundle-card{background:#22262a;border:1px solid #34393e;border-radius:15px;padding:14px}
[data-admin-bundle-detail]{background:#202428;border-radius:18px;padding:18px}[data-admin-bundle-detail] label{display:block;margin:14px 0}
.production-item{break-inside:avoid}

@keyframes order-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes order-product-enter{from{opacity:0;filter:drop-shadow(0 8px 12px rgba(0,0,0,.18))}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.order-code-card,.order-line-item,.order-hero__products img{animation:none}.order-page button{transition:none!important}}
@media(max-width:760px){
  .order-page{padding:16px 12px 82px}
  .order-hero{gap:42px;padding:0 0 18px}.order-hero__gallery{width:100%}.order-hero__products{gap:16px}.order-hero__copy h1{font-size:2.2rem}
  .order-hero__products.has-count-1{grid-template-columns:minmax(0,min(72vw,430px))}
  .order-hero__products.has-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-hero__products.has-count-3,.order-hero__products.has-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-hero__products.has-count-3 img:last-child{grid-column:1/-1;justify-self:center;width:calc((100% - 16px)/2)}
  .order-code-card{align-items:stretch;flex-direction:column}.order-code-card button{width:100%}
  .order-trust{grid-template-columns:1fr}
  .admin-hub,.admin-section-nav,.admin-bundle-layout{grid-template-columns:1fr}.admin-section-nav{display:flex;overflow-x:auto}.admin-section-nav a{white-space:nowrap}
  .order-controls{grid-template-columns:1fr}.order-quantity{justify-content:space-between}
}
@media(max-width:430px){
  .order-progress li strong{font-size:.66rem;line-height:1.2}.order-progress li span{width:28px;height:28px}.order-progress li:not(:last-child)::after{top:14px}
  .order-hero__products.has-count-1{grid-template-columns:minmax(0,62vw)}.order-hero__copy h1{font-size:1.95rem}
  .order-line-item{padding:15px}.order-line-item__top strong{font-size:1rem}
  .order-section-heading{align-items:start;flex-direction:column;gap:6px}
  .order-compact-summary dl{grid-template-columns:1fr}
}
@media print{body>*:not(main),.no-print{display:none!important}.page{display:none!important}.production-page.is-active{display:block!important;padding:0;background:#fff;color:#000}.production-shell{border:0;background:#fff;color:#000;padding:0}.production-item{border:1px solid #999;background:#fff;color:#000}}
