:root{
  --menu-text:var(--menu-text);
  --menu-muted:#71808c;
  --menu-line:#dcebfa;
  --menu-primary:#4BA3FF;
  --menu-primary-2:#78C4FF;
  --menu-soft:#F1F8FF;
  --menu-surface:#ffffff;
  --menu-ok:#19a96c;
  --menu-danger:#d94e4e;
}
/* Customer side menu — integrated with the app day-mode palette */
.side-menu-trigger{
  position:absolute;
  top:calc(env(safe-area-inset-top,0px) + 18px);
  right:calc(env(safe-area-inset-right,0px) + 16px);
  width:44px;
  height:44px;
  z-index:8;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  display:grid;
  place-items:center;
  color:var(--menu-text);
}
.side-menu-trigger-icon{
  display:block;
  width:36px;
  height:36px;
  object-fit:contain;
}

.customer-menu-overlay{
  position:absolute;
  inset:0;
  z-index:70;
  background:rgba(10,25,36,.28);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}
.customer-side-menu{
  position:absolute;
  top:16px;
  right:0;
  z-index:71;
  width:min(82%,350px);
  height:min(590px,calc(100dvh - 120px));
  color:var(--menu-text);
  background:#fff;
  border:1px solid var(--menu-line);
  border-right:0;
  border-radius:22px 0 0 22px;
  box-shadow:-20px 0 60px rgba(30,65,90,.18);
  transform:translate3d(104%,0,0);
  transition:transform .24s ease;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  isolation:isolate;
}
.app.customer-menu-open .customer-menu-overlay{opacity:1;pointer-events:auto}
.app.customer-menu-open .customer-side-menu{transform:translate3d(0,0,0)}
.customer-menu-inner{height:100%;padding:10px 20px 18px;display:flex;flex-direction:column;overflow:hidden}
.customer-menu-topbar{
  min-height:38px;
  margin-bottom:2px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.customer-menu-date{
  color:rgba(16,32,51,.68);
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  white-space:nowrap;
}
.customer-menu-close{
  width:30px;
  height:30px;
  padding:0;
  flex:none;
  display:grid;
  place-items:center;
  border:1px solid rgba(16,32,51,.09);
  border-radius:50%;
  background:rgba(241,248,255,.72);
  color:rgba(16,32,51,.58);
  font:400 21px/1 Arial,sans-serif;
  cursor:pointer;
}
.customer-menu-close:active{background:#e8f3fc}
.customer-menu-nav{border-top:0}
.customer-menu-nav button{
  width:100%;
  min-height:54px;
  padding:13px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:right;
  background:transparent;
  color:var(--menu-text);
  border-bottom:1px solid var(--menu-line);
}
.customer-menu-nav .menu-copy{min-width:0}
.customer-menu-nav .menu-label{display:block;font-size:15px;font-weight:850}
.customer-menu-nav .menu-desc{display:block;margin-top:3px;color:rgba(16,32,51,.58);font-size:12px;line-height:1.35}
.customer-menu-nav .menu-arrow{direction:ltr;color:rgba(16,32,51,.38);font-size:21px;line-height:1}
.customer-menu-nav .tracking-menu-link{
  margin:9px 0 3px;
  padding:13px 12px;
  border:1px solid var(--menu-line);
  border-radius:14px;
  background:var(--menu-soft);
}
.customer-menu-nav .tracking-menu-link .menu-label,
.customer-menu-nav .tracking-menu-link .menu-arrow{color:var(--menu-primary)}

.customer-menu-contact{margin-top:20px}
.customer-menu-contact-title{font-size:13px;font-weight:850;margin-bottom:10px}
.customer-menu-contact-actions{display:flex;gap:10px}
.customer-menu-contact-actions a{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(16,32,51,.10);
  border-radius:50%;
  background:#fff;
  color:var(--menu-primary);
  text-decoration:none;
}
.customer-menu-contact-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.customer-menu-legal{margin-top:auto;text-align:center;color:rgba(16,32,51,.43);font-size:10.5px;line-height:1.65}

.customer-menu-panel{
  position:absolute;
  inset:0;
  z-index:10;
  background:#fff;
  visibility:hidden;
  pointer-events:none;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding:0 20px 20px;
}
.customer-menu-panel.open{visibility:visible;pointer-events:auto}
.customer-side-menu.subpanel-open > .customer-menu-inner{visibility:hidden}
.customer-side-menu.subpanel-open > .customer-menu-panel.open{visibility:visible}
.customer-menu-panel-head{
  position:sticky;
  top:0;
  z-index:2;
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#fff;
  border-bottom:1px solid var(--menu-line);
}
.customer-menu-panel-head strong{font-size:15px;font-weight:900}
.customer-menu-back{
  margin-right:auto;
  width:38px;
  height:38px;
  background:transparent;
  color:#6d7880;
  font-size:25px;
  line-height:1;
}
.customer-menu-lead{
  margin:20px 0 16px;
  color:var(--menu-text);
  font-size:15.5px;
  font-weight:800;
  line-height:1.65;
}
.customer-menu-centered{text-align:center}
.customer-menu-muted{color:rgba(16,32,51,.60);font-size:13px;line-height:1.65}

.customer-menu-form{display:grid;gap:10px}
.customer-menu-input{
  width:100%;
  height:48px;
  border:1px solid rgba(16,32,51,.12);
  border-radius:15px;
  background:#fff;
  color:var(--menu-text);
  outline:0;
  padding:0 13px;
  text-align:right;
  box-shadow:0 8px 22px rgba(30,65,90,.06);
}
.customer-menu-input:focus{border-color:var(--menu-primary);box-shadow:0 0 0 3px rgba(75,163,255,.12)}
.customer-menu-primary{
  width:100%;
  min-height:48px;
  border-radius:15px;
  background:linear-gradient(135deg,var(--menu-primary),var(--menu-primary-2));
  color:#fff;
  font-weight:900;
  box-shadow:0 13px 24px rgba(47,168,247,.20);
}
.customer-menu-secondary{
  min-height:44px;
  border:0;
  background:transparent;
  color:var(--menu-primary);
  font-size:13px;
  font-weight:850;
}
.customer-menu-result{display:none;padding:11px 12px;border-radius:13px;font-size:13px;line-height:1.5;text-align:center}
.customer-menu-result.success{display:block;background:rgba(25,169,108,.09);color:#157a52}
.customer-menu-result.error{display:block;background:rgba(217,78,78,.08);color:#a53d3d}
.customer-menu-result.loading{display:block;background:rgba(105,174,247,.09);color:#316d9d}
.customer-menu-start{display:none;margin-top:2px}
.customer-menu-start.show{display:block}

.customer-menu-steps{counter-reset:menuStep;margin-top:4px}
.customer-menu-step{display:flex;gap:11px;margin-bottom:15px}
.customer-menu-step:before{
  counter-increment:menuStep;
  content:counter(menuStep);
  width:27px;height:27px;flex:none;
  display:grid;place-items:center;
  border-radius:50%;
  background:rgba(75,163,255,.10);
  color:var(--menu-primary);
  font-size:12px;font-weight:900;
}
.customer-menu-step h3{font-size:15px;margin:2px 0 4px}
.customer-menu-step p{font-size:13.5px;line-height:1.65;color:rgba(16,32,51,.65);margin:0}

.customer-menu-price{font-size:29px;font-weight:950;color:var(--menu-primary);margin:22px 0 7px;text-align:center;display:flex;flex-direction:column;align-items:center}
.customer-menu-price-amount{font-size:29px;font-weight:950;line-height:1.15}
.customer-menu-price-includes{margin-top:4px;font-size:20px;font-weight:850;line-height:1.25}
.customer-menu-price-copy{text-align:center;font-size:13.5px;line-height:1.7;color:rgba(16,32,51,.67)}
.customer-menu-price-note{margin-top:16px;padding-top:14px;border-top:1px solid rgba(16,32,51,.09);font-size:12.5px;line-height:1.65;color:rgba(16,32,51,.58)}

.customer-menu-faq{border-top:1px solid rgba(16,32,51,.09)}
.customer-menu-faq-item{border-bottom:1px solid rgba(16,32,51,.09)}
.customer-menu-faq-q{
  width:100%;min-height:46px;padding:12px 1px;
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  background:transparent;color:var(--menu-text);text-align:right;font-size:14px;font-weight:850;
}
.customer-menu-faq-q:after{content:'+';font-size:18px;font-weight:400;color:var(--menu-primary);flex:none}
.customer-menu-faq-item.open .customer-menu-faq-q:after{content:'−'}
.customer-menu-faq-a{display:none;padding:0 1px 13px;color:rgba(16,32,51,.64);font-size:13.5px;line-height:1.7}
.customer-menu-faq-item.open .customer-menu-faq-a{display:block}

@media (max-width:390px){
  .customer-side-menu{width:86%;height:min(620px,calc(100dvh - 82px));top:12px}
  .customer-menu-inner,.customer-menu-panel{padding-left:17px;padding-right:17px}
  .customer-menu-lead{font-size:15px}
}

/* First-visit menu hint — uses the exact same dim + blur treatment as the opened menu overlay. */
.menu-first-visit-dim{
  position:absolute;
  inset:0;
  z-index:7;
  background:rgba(10,25,36,.28);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
}
.menu-first-visit-label{
  position:absolute;
  top:calc(env(safe-area-inset-top,0px) + 72px);
  right:18px;
  z-index:9;
  padding:10px 15px;
  border:1px solid rgba(67,143,201,.14);
  border-radius:13px;
  background:#fff;
  color:var(--menu-text);
  box-shadow:0 12px 28px rgba(28,68,108,.15);
  font-size:13px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  opacity:0;
  transform:translateY(-4px);
  pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
}
.menu-first-visit-label::before{
  content:"";
  position:absolute;
  top:-6px;
  right:19px;
  width:11px;
  height:11px;
  background:#fff;
  border-top:1px solid rgba(67,143,201,.14);
  border-right:1px solid rgba(67,143,201,.14);
  transform:rotate(-45deg);
}
.app.menu-first-visit-active .menu-first-visit-dim{opacity:1}
.app.menu-first-visit-active .menu-first-visit-label{opacity:1;transform:none}
.app.menu-first-visit-active .side-menu-trigger{z-index:10}
.app.menu-first-visit-active .side-menu-trigger-icon{
  animation:menuIconTwoBreaths .72s ease-in-out 2;
  transform-origin:center;
}
@keyframes menuIconTwoBreaths{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.13)}
}
@media (prefers-reduced-motion:reduce){
  .app.menu-first-visit-active .side-menu-trigger-icon{animation:none}
}

.customer-menu-price-breakdown{width:100%;display:grid;gap:0;border:1px solid rgba(16,32,51,.09);border-radius:16px;overflow:hidden;background:rgba(255,255,255,.78);box-shadow:0 10px 26px rgba(30,65,90,.05)}
.customer-menu-price-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;font-size:14px;font-weight:800;color:rgba(16,32,51,.72);border-bottom:1px solid rgba(16,32,51,.07)}
.customer-menu-price-breakdown>div:last-child{border-bottom:0}
.customer-menu-price-breakdown b{font-size:15px;color:#102033;font-weight:950;white-space:nowrap}
.customer-menu-price-breakdown .customer-menu-price-total{background:rgba(75,163,255,.07);color:#102033;font-size:15px}
.customer-menu-price-breakdown .customer-menu-price-total b{font-size:20px;color:var(--menu-primary)}
