:root{
  --bg:#0b0b0c;
  --panel:#141415;
  --panel2:#1b1b1d;
  --panel3:#222225;
  --text:#f8f8f8;
  --muted:#a5a5aa;
  --border:#303034;
  --orange:#ff6a00;
  --orange2:#ff8a1f;
  --green:#25d366;
  --danger:#ff6b6b;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:
    radial-gradient(circle at 85% -10%,rgba(255,106,0,.20),transparent 28rem),
    var(--bg);
  color:var(--text);
  font-family:Arial,"Segoe UI",sans-serif;
}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}
button{cursor:pointer}
.topbar{
  width:min(1180px,calc(100% - 32px));
  margin:18px auto 0;
  min-height:66px;
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(17,17,18,.88);
  backdrop-filter:blur(18px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:0 16px;
  position:sticky;
  top:12px;
  z-index:30;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-mark{
  width:38px;height:38px;border-radius:12px;
  background:linear-gradient(135deg,var(--orange2),var(--orange));
  color:#1b0900;font-weight:1000;font-size:22px;
  display:grid;place-items:center;
  transform:skew(-8deg);
}
.brand b{display:block;font-size:15px}
.brand small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.desktop-nav{display:flex;gap:28px;color:#b9b9bd;font-size:13px;font-weight:700}
.desktop-nav a:hover{color:#fff}
.admin-top{
  border:1px solid #3a3a3e;
  border-radius:999px;
  padding:9px 14px;
  font-size:12px;
  color:#d7d7da;
}
.hero-wrap{
  width:min(1180px,calc(100% - 32px));
  margin:22px auto 0;
}
.hero-card{
  min-height:570px;
  border:1px solid var(--border);
  border-radius:34px;
  overflow:hidden;
  background:
    linear-gradient(100deg,rgba(15,15,16,.98) 0 48%,rgba(15,15,16,.82) 63%,rgba(15,15,16,.4) 100%),
    radial-gradient(circle at 78% 38%,rgba(255,106,0,.43),transparent 28rem),
    #141415;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  position:relative;
}
.hero-copy{
  padding:72px 64px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:2;
}
.hero-kicker{
  color:#ff9a49;
  font-size:12px;
  font-weight:900;
  letter-spacing:.3px;
  margin-bottom:16px;
}
.hero-copy h1{
  font-size:clamp(48px,6vw,82px);
  line-height:.95;
  margin:0;
  letter-spacing:-3px;
}
.hero-copy h1 em{
  color:var(--orange);
  font-style:normal;
}
.hero-copy p{
  color:var(--muted);
  max-width:540px;
  font-size:17px;
  line-height:1.7;
  margin:22px 0 28px;
}
.hero-actions{display:flex;gap:10px}
.cta-primary,.cta-secondary{
  min-height:50px;
  border-radius:13px;
  padding:0 20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
}
.cta-primary{
  background:linear-gradient(135deg,var(--orange2),var(--orange));
  color:#1b0900;
  box-shadow:0 14px 30px rgba(255,106,0,.18);
}
.cta-secondary{border:1px solid var(--border);background:#171719;color:#e8e8ea}
.trust-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:48px;
}
.trust-row div{
  border-top:1px solid #333337;
  padding-top:12px;
}
.trust-row b{display:block;font-size:13px}
.trust-row span{display:block;color:#85858b;font-size:11px;margin-top:3px}
.hero-visual{position:relative;min-height:570px}
.orb{
  position:absolute;
  width:460px;height:460px;border-radius:50%;
  right:50%;top:50%;
  transform:translate(50%,-48%);
  background:radial-gradient(circle at 40% 35%,#ffb05e,#ff6a00 42%,#6f2300 67%,transparent 68%);
  filter:drop-shadow(0 0 70px rgba(255,106,0,.25));
}
.package{
  width:220px;height:220px;
  position:absolute;right:50%;top:50%;
  transform:translate(50%,-38%) rotate(-4deg);
  z-index:3;
  filter:drop-shadow(0 35px 40px rgba(0,0,0,.42));
}
.package-face.front{
  position:absolute;inset:34px 34px 0 0;
  background:linear-gradient(145deg,#ff9c42,#f56a00);
  border-radius:8px 8px 14px 14px;
  transform:skewY(-4deg);
}
.package-face.side{
  position:absolute;top:34px;bottom:0;left:0;width:42px;
  background:#c84a00;
  clip-path:polygon(0 11%,100% 0,100% 94%,0 100%);
}
.package-top{
  position:absolute;right:34px;left:0;top:0;height:58px;
  background:#ffad62;
  clip-path:polygon(20% 0,100% 28%,80% 100%,0 66%);
}
.package span{
  position:absolute;right:25px;top:90px;
  font-size:32px;font-weight:1000;color:#2d0e00;
}
.route-line{
  position:absolute;
  border:2px dashed rgba(255,255,255,.23);
  border-radius:50%;
}
.route-a{width:390px;height:190px;right:35px;top:75px;transform:rotate(-15deg)}
.route-b{width:410px;height:180px;right:12px;bottom:70px;transform:rotate(8deg)}
.floating-card{
  position:absolute;
  z-index:4;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(20,20,22,.78);
  backdrop-filter:blur(14px);
  border-radius:14px;
  padding:11px 14px;
  min-width:145px;
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}
.floating-card span{display:block;color:#ff9a49;font-size:10px}
.floating-card b{display:block;font-size:12px;margin-top:3px}
.card-a{right:40px;top:100px}
.card-b{left:20px;bottom:100px}
.how-section{
  width:min(1180px,calc(100% - 32px));
  margin:84px auto;
}
.section-title span,.eyebrow{font-size:11px;color:#ff9340;font-weight:900;letter-spacing:1.4px}
.section-title h2{font-size:38px;margin:9px 0 24px;letter-spacing:-1.3px}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.how-grid article{
  min-height:190px;
  background:linear-gradient(180deg,#171719,#121214);
  border:1px solid var(--border);
  border-radius:22px;
  padding:22px;
}
.step-num{color:var(--orange);font-size:13px;font-weight:1000}
.how-grid h3{margin:34px 0 8px;font-size:20px}
.how-grid p{color:var(--muted);line-height:1.55;margin:0;font-size:14px}
.order-section{
  width:min(1180px,calc(100% - 32px));
  margin:0 auto 84px;
}
.order-shell{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:18px;
  align-items:start;
}
.order-side{
  position:sticky;
  top:100px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#141416;
  padding:24px;
}
.order-side h2{font-size:28px;margin:8px 0}
.order-side p{font-size:13px;color:var(--muted);line-height:1.55}
.side-progress{display:grid;gap:0;margin-top:28px}
.side-step{
  min-height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
  color:#707077;
  font-size:13px;
  font-weight:800;
}
.side-step:not(:last-child)::after{
  content:"";position:absolute;
  right:15px;top:44px;width:1px;height:28px;background:#333338
}
.side-step i{
  width:31px;height:31px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid #3b3b40;
  background:#1b1b1e;
  font-style:normal;
  font-size:11px;
}
.side-step.active{color:#fff}
.side-step.active i{
  background:var(--orange);
  border-color:var(--orange);
  color:#1c0900;
}
.wizard-card{
  border:1px solid var(--border);
  border-radius:28px;
  background:linear-gradient(180deg,#171719,#121214);
  padding:28px;
  min-height:520px;
}
.wizard-step{display:none}
.wizard-step.active{display:block;animation:fadeIn .22s ease}
@keyframes fadeIn{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:none}}
.wizard-head{margin-bottom:24px}
.wizard-head span{color:#ff9340;font-size:11px;font-weight:900}
.wizard-head h3{font-size:30px;margin:7px 0}
.wizard-head p{margin:0;color:var(--muted);font-size:14px}
label{display:block;font-size:12px;font-weight:900;margin:14px 2px 7px}
.app-field{
  min-height:56px;
  border:1px solid #343439;
  background:#202023;
  border-radius:14px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  transition:.18s ease;
}
.app-field:focus-within{
  border-color:rgba(255,106,0,.74);
  box-shadow:0 0 0 3px rgba(255,106,0,.09);
}
.field-icon{color:#ff9340;font-weight:1000}
input,textarea{
  width:100%;border:0;outline:0;background:transparent;color:#fff;font-size:15px;
}
input{height:54px}
textarea{padding:14px 0;resize:vertical;min-height:82px}
input::placeholder,textarea::placeholder{color:#77777e}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.wizard-actions{display:flex;gap:10px;margin-top:24px}
.wizard-next,.wizard-back,.calc-big{
  border:0;border-radius:13px;min-height:52px;padding:0 18px;font-weight:1000
}
.wizard-next,.calc-big{
  background:linear-gradient(135deg,var(--orange2),var(--orange));
  color:#190800;flex:1
}
.wizard-back{
  background:#202023;color:#d5d5d8;border:1px solid #37373c
}
.mini-route{
  border:1px solid #303035;
  background:#101012;
  border-radius:18px;
  padding:16px;
  margin-bottom:18px;
}
.mini-route small{display:block;color:#8f8f95;margin-bottom:4px}
.mini-route b{font-size:14px}
.mini-route-line{height:18px;border-right:1px dashed #45454b;margin:6px 7px}
.hint{color:#77777d;font-size:11px;text-align:center;line-height:1.55}
.status{margin-top:14px;padding:12px;border-radius:12px;background:#1e1e21;border:1px solid #333338;color:#d2d2d5;font-size:13px}
.status.error{color:#ffd2d2;border-color:#5a3434}
.result-card{
  margin-top:18px;
  border:1px solid rgba(255,106,0,.3);
  background:linear-gradient(180deg,rgba(255,106,0,.07),rgba(255,106,0,.025));
  border-radius:20px;
  padding:18px;
}
.result-price{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.result-price small{display:block;color:#9a9aa0;margin-bottom:5px}
#price{font-size:52px;color:#ff7a16;line-height:1}
.result-route{margin:18px 0;background:#101012;border:1px solid #303035;border-radius:14px;padding:14px}
.result-route span{display:block;color:#ff9340;font-size:11px;margin-bottom:3px}
.result-route b{font-size:13px}
.result-line{height:16px;border-right:1px dashed #45454b;margin:6px 5px}
.order-code-box{
  display:flex;justify-content:space-between;gap:10px;
  border:1px solid #303035;background:#161618;border-radius:13px;padding:11px 13px;margin-bottom:12px
}
.order-code-box small{color:#8c8c92}
.whatsapp{
  min-height:54px;border-radius:13px;background:var(--green);color:#07160c;
  display:flex;align-items:center;justify-content:center;font-weight:1000
}
.bottom-actions{margin-top:12px}
.swap-hidden{display:none}
.site-footer{
  border-top:1px solid #242427;
  width:min(1180px,calc(100% - 32px));
  margin:0 auto;
  padding:26px 0 36px;
  display:flex;justify-content:space-between;align-items:center
}
.site-footer>a{color:#77777c;font-size:12px}
@media(max-width:900px){
  .desktop-nav{display:none}
  .hero-card{grid-template-columns:1fr;min-height:auto}
  .hero-copy{padding:54px 36px}
  .hero-visual{min-height:390px}
  .trust-row{margin-top:34px}
  .order-shell{grid-template-columns:1fr}
  .order-side{position:static}
  .side-progress{grid-template-columns:repeat(4,1fr)}
  .side-step{display:grid;justify-items:center;min-height:auto;gap:7px}
  .side-step:not(:last-child)::after{top:15px;right:65%;width:70%;height:1px}
}
@media(max-width:600px){
  .topbar{width:calc(100% - 20px);margin-top:10px;min-height:60px}
  .admin-top{font-size:10px;padding:8px 10px}
  .hero-wrap,.how-section,.order-section,.site-footer{width:calc(100% - 20px)}
  .hero-card{border-radius:24px}
  .hero-copy{padding:42px 22px 28px}
  .hero-copy h1{font-size:48px;letter-spacing:-2px}
  .hero-copy p{font-size:15px}
  .hero-actions{flex-direction:column}
  .trust-row{grid-template-columns:1fr;gap:6px}
  .hero-visual{min-height:330px}
  .orb{width:300px;height:300px}
  .package{transform:translate(50%,-38%) rotate(-4deg) scale(.8)}
  .floating-card{transform:scale(.86)}
  .card-a{right:8px}
  .card-b{left:0}
  .how-section{margin:58px auto}
  .section-title h2{font-size:30px}
  .how-grid{grid-template-columns:1fr}
  .order-side{padding:18px;border-radius:20px}
  .side-step span{font-size:10px}
  .wizard-card{padding:18px;border-radius:22px}
  .wizard-head h3{font-size:25px}
  .two-col{grid-template-columns:1fr}
  .result-price{align-items:flex-start;flex-direction:column}
  .site-footer{padding-bottom:24px}
}

/* V7 - כתובת חכמה, מיקום וחשבון לקוח */
.customer-auth{width:min(1180px,calc(100% - 32px));margin:10px auto 0}.auth-inner{border:1px solid var(--border);background:#141416;border-radius:16px;padding:12px 16px}.auth-inner b{color:#ff9340}.auth-inner span,.auth-inner small{color:var(--muted);font-size:12px}.auth-row{display:flex;gap:8px;margin-top:9px}.auth-row input{max-width:260px;background:#202023;border:1px solid var(--border);border-radius:10px;padding:0 12px;height:42px;color:#fff}.auth-row button,.auth-actions button{border:0;border-radius:10px;background:var(--orange);font-weight:800;padding:0 15px}.auth-actions{display:flex;gap:8px;margin-top:8px}.address-search-wrap{position:relative}.locate-btn{white-space:nowrap;border:0;background:transparent;color:#ff9340;font-weight:800;font-size:12px}.address-suggestions{position:absolute;z-index:50;top:58px;right:0;left:0;background:#fff;color:#171717;border-radius:14px;overflow:hidden;box-shadow:0 16px 45px #0008}.address-suggestions button{width:100%;text-align:right;border:0;border-bottom:1px solid #eee;background:#fff;padding:12px 14px;display:grid;gap:3px}.address-suggestions button:hover{background:#f4f4f4}.address-suggestions span{color:#777;font-size:12px}.verified-address{display:block;margin:6px 4px 0;color:var(--muted)}.verified-address.ok{color:#6de38b}.place-types{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.place-types button{border:1px solid var(--border);background:#1b1b1d;color:#ddd;border-radius:11px;min-height:44px}.place-types button.active{border-color:var(--orange);background:#2a180c;color:#ff9a49}.place-extra{margin-top:8px}
.place-extra[hidden]{display:none!important}.orders-modal{position:fixed;inset:0;background:#000b;z-index:100;display:grid;place-items:center;padding:16px}.orders-modal[hidden]{display:none}.orders-modal-card{width:min(700px,100%);max-height:80vh;overflow:auto;background:#171719;border:1px solid var(--border);border-radius:22px;padding:22px;position:relative}.modal-close{position:absolute;left:14px;top:12px;background:none;border:0;color:#fff;font-size:28px}.customer-order{display:grid;gap:6px;border:1px solid var(--border);border-radius:14px;padding:13px;margin-top:10px}.customer-order span,.customer-order small{color:var(--muted)}.customer-order button{justify-self:start;border:0;border-radius:9px;background:var(--orange);padding:8px 12px;font-weight:800}@media(max-width:640px){.place-types{grid-template-columns:1fr 1fr}.auth-row{flex-direction:column}.auth-row input{max-width:none}.locate-btn{font-size:11px}.customer-auth{width:calc(100% - 28px)}}

/* ===== V8 CUSTOMER EMAIL/PASSWORD AUTH ===== */
.auth-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.auth-tabs{display:flex;gap:6px;background:#0f0f10;border:1px solid var(--border);padding:4px;border-radius:11px}
.auth-tabs button{border:0;background:transparent;color:var(--muted);border-radius:8px;padding:7px 11px;font-weight:800}
.auth-tabs button.active{background:var(--orange);color:#1b0900}
.customer-auth-form{margin-top:10px}
.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.auth-grid input,.customer-auth-form .auth-row input{background:#202023;border:1px solid var(--border);border-radius:10px;padding:0 12px;height:42px;color:#fff;min-width:0}
.auth-submit{margin-top:8px;border:0;border-radius:10px;background:var(--orange);font-weight:900;min-height:42px;padding:0 16px}
.auth-link{margin-top:7px;border:0;background:transparent;color:#ff9340;padding:0;font-size:12px;font-weight:800}
#authLoggedIn>span{display:block;margin-top:3px}
@media(max-width:640px){.auth-heading{align-items:flex-start;flex-direction:column}.auth-tabs{width:100%}.auth-tabs button{flex:1}.auth-grid{grid-template-columns:1fr}.customer-auth-form .auth-row{display:grid;grid-template-columns:1fr}.customer-auth-form .auth-row button{min-height:42px}}

/* ===== V9 - מסך כניסה נפרד לפני האתר ===== */
body.auth-locked{overflow:hidden;background:#0b0b0c}
body.auth-locked > .topbar,
body.auth-locked > main,
body.auth-locked > .site-footer,
body.auth-locked > .orders-modal{display:none!important}
body.auth-locked .customer-auth{
  position:fixed;inset:0;z-index:1000;width:100%;margin:0;padding:24px;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at 78% 18%,rgba(255,106,0,.22),transparent 28rem),
    radial-gradient(circle at 15% 88%,rgba(255,138,31,.10),transparent 24rem),
    #0b0b0c;
}
body.auth-locked .auth-inner{
  width:min(520px,100%);padding:30px;border-radius:26px;
  background:linear-gradient(180deg,#19191b,#121214);
  border:1px solid #343438;box-shadow:0 30px 90px rgba(0,0,0,.48)
}
body.auth-locked .auth-heading{display:grid;gap:24px}
.auth-welcome{display:flex;align-items:center;gap:14px}
.auth-logo{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,var(--orange2),var(--orange));color:#210b00;font-weight:1000;font-size:18px;box-shadow:0 12px 28px rgba(255,106,0,.18)}
.auth-welcome b{display:block;font-size:20px;letter-spacing:.4px}
.auth-welcome span{display:block!important;margin-top:5px;line-height:1.55;font-size:13px!important}
body.auth-locked .auth-tabs{width:100%}
body.auth-locked .auth-tabs button{flex:1;min-height:44px}
body.auth-locked .customer-auth-form{margin-top:18px}
body.auth-locked .auth-row{display:grid;grid-template-columns:1fr;gap:10px}
body.auth-locked .auth-row input,
body.auth-locked .auth-grid input{max-width:none;width:100%;height:50px;border-radius:12px;background:#202023;border:1px solid var(--border);padding:0 13px;color:#fff}
body.auth-locked .auth-row>button[type="submit"],
body.auth-locked .auth-submit{min-height:50px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--orange2),var(--orange));color:#1b0900;font-weight:1000}
body.auth-locked .auth-grid{grid-template-columns:1fr;gap:10px}
body.auth-locked #authMessage{display:block;margin-top:12px;line-height:1.45}
body.auth-locked .auth-link{margin-top:10px}
body:not(.auth-locked) #authLoggedOut{display:none!important}
body:not(.auth-locked) .customer-auth{margin-top:10px}
@media(max-width:600px){
  body.auth-locked .customer-auth{padding:14px}
  body.auth-locked .auth-inner{padding:22px 18px;border-radius:22px}
  .auth-welcome{align-items:flex-start}
  .auth-logo{width:46px;height:46px;border-radius:14px;flex:0 0 auto}
}

/* V17 customer order statuses */
.customer-status,
.order-status,
.status-label{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
}
.status-pending.customer-status,
.status-pending.order-status,
.status-pending.status-label{background:#332d16;color:#ffe494}
.status-approved.customer-status,
.status-approved.order-status,
.status-approved.status-label{background:#182744;color:#a9c8ff}
.status-completed.customer-status,
.status-completed.order-status,
.status-completed.status-label{background:#15311e;color:#9df3b5}


/* V19 - My Orders grouped categories */
#customerOrdersList{
  display:grid;
  gap:18px;
}
.orders-category{
  border:1px solid var(--border);
  border-radius:18px;
  background:#121214;
  overflow:hidden;
}
.orders-category-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid var(--border);
}
.orders-category-head h3{
  margin:0;
  font-size:16px;
}
.orders-category-head span{
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:900;
  background:#242427;
  color:#fff;
}
.orders-category-pending .orders-category-head h3{color:#ffe494}
.orders-category-approved .orders-category-head h3{color:#a9c8ff}
.orders-category-completed .orders-category-head h3{color:#9df3b5}
.orders-category-list{
  display:grid;
  gap:10px;
  padding:12px;
}
.orders-category-empty{
  padding:18px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
}
@media(max-width:640px){
  .orders-category{border-radius:15px}
  .orders-category-head{padding:12px 13px}
  .orders-category-list{padding:9px}
}
