/* Pakpooshin – order form, dashboard & admin panel (v2) */

.pp-muted { color: var(--ink-light); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.pp-link { color: var(--blue-700); font-size: 14px; background: none; padding: 0; }
.pp-link:hover { text-decoration: underline; }
.pp-chip { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--blue-800); font-weight: 600; vertical-align: middle; }
.pp-price-note { display: block; font-size: 12px; color: var(--ink-light); margin-top: 2px; }

.pp-alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 15px; }
.pp-alert-ok { background: #e8f5e9; color: #2e7d32; }
.pp-alert-err { background: #fdecea; color: #c62828; }

/* ---------------- Order form ---------------- */
.pp-order .pp-step { margin: 26px 0 8px; }
.pp-step-head { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.pp-step-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-500), var(--cyan-400)); color: #fff; font-size: 14px; }

.pp-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pp-tab { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 14px; position: relative; transition: .2s; }
.pp-tab:hover { border-color: var(--blue-400); }
.pp-tab.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.pp-tab.has-items::after { content: ''; position: absolute; top: 4px; left: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); }

.pp-items { margin-top: 12px; display: grid; gap: 8px; padding-inline-end: 4px; }
.pp-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; transition: .2s; }
.pp-item.selected { border-color: var(--blue-500); background: #f3faff; box-shadow: 0 0 0 3px rgba(33,150,243,.12); }
.pp-item-info { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pp-item-name { font-weight: 600; }
.pp-item-price { font-size: 13px; color: var(--ink-light); }
.pp-mode { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; font-size: 12px; }
.pp-mode button { padding: 6px 10px; color: var(--ink-light); background: #fff; }
.pp-mode button.on { background: var(--bg-soft); color: var(--blue-800); font-weight: 700; }
.pp-mode-lg { width: 100%; font-size: 14px; border-radius: 14px; }
.pp-mode-lg button { flex: 1; padding: 12px 10px; }
.pp-qty { display: inline-flex; align-items: center; gap: 6px; }
.pp-qty button { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); color: var(--blue-800); font-size: 20px; line-height: 1; display: grid; place-items: center; transition: .15s; }
.pp-qty button:hover:not(:disabled) { background: var(--blue-700); color: #fff; }
.pp-qty button:disabled { opacity: .35; cursor: default; }
.pp-qty span { min-width: 34px; text-align: center; font-weight: 700; }
.pp-qty small { display: block; font-size: 10px; font-weight: 400; color: var(--ink-light); }
.pp-qty-lg { gap: 14px; margin: 4px 0 18px; }
.pp-qty-lg button { width: 48px; height: 48px; font-size: 26px; }
.pp-qty-lg span { min-width: 52px; font-size: 22px; }
.pp-shake { animation: ppShake .5s; }
@keyframes ppShake { 25% { transform: translateX(6px); } 50% { transform: translateX(-6px); } 75% { transform: translateX(3px); } }

/* Order wizard */
.pp-order.pp-wiz { padding-bottom: 96px; }
.pp-wiz-bar {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px;
  margin: 0 0 18px; padding: 6px; border-radius: 14px; background: #f3f8fd;
}
.pp-wiz-dot {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px; border: 0; border-radius: 10px; background: transparent;
  color: var(--ink-light); font: inherit; cursor: default; min-width: 0;
}
.pp-wiz-dot.is-done { cursor: pointer; color: var(--blue-700); }
.pp-wiz-dot.is-on { background: #fff; color: var(--blue-800); box-shadow: 0 6px 14px -10px rgba(25,118,210,.55); cursor: default; }
.pp-wiz-dot-num {
  width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center;
  background: #e4eef8; color: inherit; font-size: 11px; font-weight: 800;
}
.pp-wiz-dot.is-on .pp-wiz-dot-num,
.pp-wiz-dot.is-done .pp-wiz-dot-num { background: var(--blue-700); color: #fff; }
.pp-wiz-dot-label {
  font-size: 10px; font-weight: 700; line-height: 1.15; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.pp-wiz-pane { /* step enter animation via .is-on */ }
.pp-wiz-hint { margin: 0 0 16px; color: var(--ink-light); font-size: 14px; line-height: 1.8; }
.pp-cart-empty {
  margin-top: 14px; padding: 18px; text-align: center; color: var(--ink-light);
  border: 1.5px dashed #c9d7e6; border-radius: 16px; background: #fafcfe; font-size: 14.5px;
}
.pp-add-item {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; font-size: 16px; border-radius: 16px;
  box-shadow: 0 14px 28px -14px rgba(25,118,210,.75);
}
.pp-add-item i { width: 22px; height: 22px; display: grid; place-items: center; }
.pp-add-item svg { width: 22px; height: 22px; display: block; }
.pp-wiz-foot {
  position: fixed; right: 0; left: 0; bottom: 0; z-index: 950;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border-top: 1px solid rgba(25,118,210,.10);
  box-shadow: 0 -10px 28px -18px rgba(13,71,161,.35);
}
.pp-wiz-foot .form-note { margin: 8px 0 0; text-align: center; font-size: 12px; }
.pp-wiz-btns { display: flex; align-items: stretch; gap: 10px; }
.pp-wiz-go {
  flex: 1; min-width: 0; min-height: 50px; font-size: 16px; border-radius: 14px;
  box-shadow: 0 12px 24px -12px rgba(25,118,210,.8);
}
.pp-btn-wait-row {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
}
.pp-btn-wait-row.is-block { display: flex; width: 100%; }
.pp-btn-wait-row.is-block > .btn { flex: 1; min-width: 0; }
.pp-wiz-btns .pp-btn-wait-row { flex: 1; min-width: 0; display: flex; }
.pp-wiz-btns .pp-btn-wait-row .pp-wiz-go { flex: 1; }
.pp-btn-spin {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(25, 118, 210, .18);
  border-top-color: var(--blue-700);
  animation: ppBtnSpin .65s linear infinite;
}
@keyframes ppBtnSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .pp-btn-spin { animation-duration: 1.2s; }
}
.pp-wiz-prev {
  flex: 0 0 auto; min-height: 50px; padding: 0 16px; border-radius: 14px;
  background: #fff5f5; border: 1px solid #f3c4c4; color: #c62828;
  font-size: 14.5px; font-weight: 800; white-space: nowrap;
}
.pp-wiz-prev:hover, .pp-wiz-prev:active { background: #fdecea; color: #b71c1c; border-color: #ef9a9a; }
.pp-wiz-prev[hidden] { display: none !important; }
.pp-contact-row {
  margin-top: 22px;
  gap: 10px;
}
.pp-contact-row .field { margin-bottom: 0; }
@media (max-width: 720px) {
  .pp-contact-row { grid-template-columns: 1fr 1fr; gap: 8px; }
}
@media (min-width: 721px) {
  .pp-wiz-foot {
    right: max(16px, calc(50% - 360px));
    left: max(16px, calc(50% - 360px));
    bottom: 16px; border-radius: 18px; border: 1px solid rgba(25,118,210,.10);
  }
  .pp-wiz-dot-label { font-size: 11px; }
  .pp-wiz-dot-num { width: 24px; height: 24px; font-size: 12px; }
}

/* Item picker sheet */
.pp-pick-backdrop,
.pp-pick-sheet {
  display: none !important;
  pointer-events: none;
}
.pp-pick-backdrop.is-open,
.pp-pick-sheet.is-open {
  display: flex !important;
  pointer-events: auto;
}
.pp-pick-backdrop {
  position: fixed; inset: 0; z-index: 1200; background: rgba(13,40,90,.32);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .28s ease; align-items: stretch;
}
.pp-pick-backdrop.is-open { opacity: 1; }
.pp-pick-sheet {
  position: fixed; z-index: 1201; right: 12px; left: 12px; bottom: 12px;
  max-height: min(82vh, 680px); min-height: 280px; flex-direction: column;
  border-radius: 22px; background: #fff; border: 1px solid rgba(25,118,210,.10);
  box-shadow: 0 24px 50px -20px rgba(13,71,161,.45);
  transform: translateY(28px); opacity: 0;
  transition: transform .36s cubic-bezier(.22,.8,.2,1), opacity .28s ease;
}
.pp-pick-sheet.is-open { transform: translateY(0); opacity: 1; }
html.pp-pick-lock, html.pp-pick-lock body { overflow: hidden; }
.pp-pick-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px;
  padding: 12px 12px 10px; border-bottom: 1px solid var(--border); flex: none;
}
.pp-pick-head b {
  text-align: center; font-size: 15px; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.pp-pick-close {
  width: 40px; height: 40px; border-radius: 12px; border: 0; background: #eef5fd;
  color: var(--blue-800); font-size: 22px; line-height: 1; display: grid; place-items: center;
}
button.pp-pick-back {
  height: 40px; padding: 0 12px; border-radius: 12px; border: 0; background: #eef5fd;
  color: var(--blue-800); font: inherit; font-size: 13.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
}
button.pp-pick-back:hover:not(:disabled), .pp-pick-close:hover { background: #e3eefb; }
button.pp-pick-back.is-ghost { visibility: hidden; pointer-events: none; }
.pp-pick-body {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 10px 12px 16px; min-height: 180px; flex: 1;
}
.pp-pick-panel { width: 100%; }
.pp-pick-panel.is-anim-fwd { animation: ppPickFwd .34s cubic-bezier(.22,.8,.2,1) both; }
.pp-pick-panel.is-anim-back { animation: ppPickBack .34s cubic-bezier(.22,.8,.2,1) both; }
@keyframes ppPickFwd {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: none; }
}
@keyframes ppPickBack {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: none; }
}
.pp-pick-list { display: grid; gap: 4px; }
.pp-pick-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px; border: 0; border-radius: 14px; background: transparent;
  color: var(--ink); text-align: right; font: inherit; cursor: pointer;
  opacity: 0; transform: translateY(10px);
  animation: ppPickRowIn .38s cubic-bezier(.22,.8,.2,1) forwards;
}
.pp-pick-row:nth-child(1) { animation-delay: .02s; }
.pp-pick-row:nth-child(2) { animation-delay: .05s; }
.pp-pick-row:nth-child(3) { animation-delay: .08s; }
.pp-pick-row:nth-child(4) { animation-delay: .11s; }
.pp-pick-row:nth-child(5) { animation-delay: .14s; }
.pp-pick-row:nth-child(6) { animation-delay: .17s; }
.pp-pick-row:nth-child(7) { animation-delay: .20s; }
.pp-pick-row:nth-child(8) { animation-delay: .23s; }
.pp-pick-row:nth-child(n+9) { animation-delay: .26s; }
@keyframes ppPickRowIn {
  to { opacity: 1; transform: none; }
}
.pp-pick-row:hover, .pp-pick-row:active { background: #EEF5FD; }
.pp-pick-row.has-items .pp-pick-ico { background: var(--blue-700); color: #fff; }
.pp-pick-ico {
  width: 38px; height: 38px; border-radius: 12px; background: #EAF3FC; color: var(--blue-700);
  display: grid; place-items: center; flex: none;
}
.pp-pick-ico svg { width: 19px; height: 19px; display: block; }
.pp-pick-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-pick-txt b { font-size: 15.5px; font-weight: 700; }
.pp-pick-txt small { color: var(--ink-light); font-size: 12.5px; }
.pp-pick-chev { color: #a9b8c8; font-size: 20px; line-height: 1; }
.pp-pick-detail { padding: 8px 6px 10px; animation: ppPickDetailIn .34s cubic-bezier(.22,.8,.2,1) both; }
@keyframes ppPickDetailIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.pp-pick-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink-light); }
.pp-pick-price { margin: 14px 0; font-size: 20px; font-weight: 800; color: var(--blue-800); }
.pp-pick-add { width: 100%; min-height: 52px; font-size: 16px; border-radius: 16px; box-shadow: 0 12px 24px -12px rgba(25,118,210,.8); }
.pp-cart.is-pop { animation: ppCartPop .45s cubic-bezier(.22,.8,.2,1) both; }
@keyframes ppCartPop {
  0% { transform: scale(.96); box-shadow: 0 0 0 0 rgba(25,118,210,.0); }
  55% { transform: scale(1.015); box-shadow: 0 0 0 6px rgba(25,118,210,.10); }
  100% { transform: none; box-shadow: none; }
}
.pp-wiz-pane.is-on { animation: ppWizPaneIn .4s cubic-bezier(.22,.8,.2,1) both; }
@keyframes ppWizPaneIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-pick-panel.is-anim-fwd,
  .pp-pick-panel.is-anim-back,
  .pp-pick-row,
  .pp-pick-detail,
  .pp-cart.is-pop,
  .pp-wiz-pane.is-on { animation: none !important; opacity: 1; transform: none; }
}
@media (min-width: 721px) {
  .pp-pick-sheet.is-open {
    right: auto; left: 50%; width: min(440px, calc(100vw - 48px)); bottom: 24px;
    transform: translate(-50%, 0);
  }
}
@media (max-width: 520px) {
  .pp-wiz-dot-label { font-size: 9.5px; letter-spacing: -.2px; }
}

.pp-cart { margin-top: 16px; border-radius: var(--radius-md); background: linear-gradient(135deg, #f3faff, #e9fbfd); border: 1px solid #cfe9fb; padding: 16px 18px; }
.pp-cart-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 8px; }
.pp-cart-lines { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.pp-cart-lines li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed #cfe0ea; }
.pp-cart-lines li span:first-child { flex: 1; }
.pp-cart-lines em { font-style: normal; font-size: 12px; color: var(--ink-light); }
.pp-x { width: 22px; height: 22px; border-radius: 50%; color: #c62828; background: #fff; font-size: 16px; line-height: 1; }
.pp-cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: 16px; }
.pp-cart-total strong { font-size: 20px; color: var(--blue-800); }
.pp-cart-hint { font-size: 12px; color: var(--ink-light); margin: 6px 0 0; }

.pp-days,
.pp-slots {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
}
.pp-days::-webkit-scrollbar,
.pp-slots::-webkit-scrollbar { display: none; }
.pp-day, .pp-slot { position: relative; flex: 0 0 auto; cursor: pointer; scroll-snap-align: start; }
.pp-day input, .pp-slot input { position: absolute; opacity: 0; pointer-events: none; }
.pp-day span { display: flex; flex-direction: column; align-items: center; min-width: 78px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; transition: .2s; }
.pp-day b { font-size: 14px; }
.pp-day small { font-size: 12px; color: var(--ink-light); }
.pp-slots { margin-top: 10px; }
.pp-slot span { display: block; padding: 10px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 14px; transition: .2s; white-space: nowrap; }
.pp-day input:checked + span, .pp-slot input:checked + span { border-color: var(--blue-700); background: var(--blue-700); color: #fff; }
.pp-day input:checked + span small { color: #dbeeff; }
.pp-day input:focus-visible + span, .pp-slot input:focus-visible + span { outline: 2px solid var(--blue-400); outline-offset: 2px; }
.pp-slot.off { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* ---------------- Tables / summary ---------------- */
.pp-summary { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; }
.pp-summary p { margin: 6px 0; }
.pp-table-wrap { overflow-x: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-card); background: #fff; margin-bottom: 16px; }
.pp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-table th { background: var(--bg-soft); padding: 12px; text-align: right; font-weight: 700; white-space: nowrap; }
.pp-table td { padding: 10px 12px; border-top: 1px solid var(--border); vertical-align: middle; }
.pp-table tfoot td { font-weight: 700; background: #fafcfe; }
.pp-table tfoot td:last-child { color: var(--blue-800); white-space: nowrap; }
.pp-table input[type=text], .pp-table input[type=number], .pp-table select { border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font: inherit; font-size: 13px; background: #fff; width: 100%; min-width: 0; }
.pp-in-xs { width: 64px !important; }
.pp-in-sm { width: 110px !important; }
.pp-in-md { min-width: 140px !important; }
.pp-qty-input { width: 80px !important; }
.pp-clip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-inactive td { opacity: .55; }

/* ---------------- Customer dashboard ---------------- */
.pp-orders { display: grid; gap: 16px; }
.pp-order-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 18px 20px; border: 1px solid transparent; }
.pp-order-card.pp-new { border-color: var(--blue-400); }
.pp-order-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.pp-order-card-head small { display: block; color: var(--ink-light); font-size: 13px; }
.pp-order-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; font-size: 14px; }
.pp-order-meta span { display: block; font-size: 12px; color: var(--ink-light); }
.pp-details { margin-top: 14px; font-size: 14px; }
.pp-details summary { cursor: pointer; color: var(--blue-700); font-weight: 600; }
.pp-details ul { list-style: none; padding: 0; margin: 8px 0 0; }
.pp-details li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--border); }

.pp-track { list-style: none; display: flex; margin: 0 0 16px; padding: 0; counter-reset: s; }
.pp-track li { flex: 1; text-align: center; font-size: 12px; color: var(--ink-light); position: relative; padding-top: 22px; }
.pp-track li span { position: absolute; top: 4px; right: 50%; transform: translateX(50%); width: 12px; height: 12px; border-radius: 50%; background: var(--border); z-index: 1; }
.pp-track li::before { content: ''; position: absolute; top: 9px; right: -50%; width: 100%; height: 2px; background: var(--border); }
.pp-track li:first-child::before { display: none; }
.pp-track li.done span, .pp-track li.now span { background: var(--blue-600); }
.pp-track li.done::before, .pp-track li.now::before { background: var(--blue-600); }
.pp-track li.now { color: var(--blue-800); font-weight: 700; }
.pp-track li.now span { box-shadow: 0 0 0 4px rgba(33,150,243,.2); }

.pp-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.pp-s-submitted { background: #fff4e5; color: #b26a00; }
.pp-s-picked_up { background: #e3f2fd; color: #1565c0; }
.pp-s-processing { background: #ede7f6; color: #5e35b1; }
.pp-s-ready { background: #e0f7fa; color: #00838f; }
.pp-s-delivered { background: #e8f5e9; color: #2e7d32; }
.pp-s-cancelled { background: #f5f5f5; color: #757575; }

/* ---------------- Admin ---------------- */
.pp-admin { max-width: 1200px; margin: 0 auto; }
.pp-admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.pp-admin-nav { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-card); margin-bottom: 24px; }
.pp-admin-nav a { padding: 8px 18px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 14px; }
.pp-admin-nav a.active { background: var(--blue-700); color: #fff; }
.pp-admin-nav a:hover:not(.active) { background: var(--bg-soft); }
.pp-admin-nav .pp-admin-nav-site { margin-inline-start: auto; color: var(--ink-light); font-weight: 400; }

.pp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.pp-stat { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); transition: .2s; border: 1px solid transparent; }
a.pp-stat:hover { border-color: var(--blue-300); transform: translateY(-2px); }
.pp-stat b { font-size: 26px; color: var(--blue-800); line-height: 1.3; }
.pp-stat span { font-size: 13px; color: var(--ink-light); }
.pp-stat-accent { background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); }
.pp-stat-accent b, .pp-stat-accent span { color: #fff; }

.pp-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.pp-filter input, .pp-filter select { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; }
.pp-filter input[type=search] { flex: 1 1 260px; }
.pp-filter .btn { padding: 10px 22px; }

.pp-oid { font-weight: 700; color: var(--blue-700); }
.pp-inline-status select { border: 0; border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }

.pp-pager { display: flex; gap: 6px; justify-content: center; margin: 20px 0; }
.pp-pager a, .pp-pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); color: var(--ink); font-size: 14px; }
.pp-pager span.active { background: var(--blue-700); color: #fff; }

.pp-panel { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 20px 22px; margin-bottom: 20px; }
.pp-panel h3 { font-size: 17px; margin: 0 0 14px; }
.pp-panel .pp-table-wrap { box-shadow: none; border: 1px solid var(--border); }
.pp-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.pp-grid-2 > .pp-panel { margin-bottom: 20px; }
.pp-dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 14px; margin: 0; font-size: 14px; }
.pp-dl dt { color: var(--ink-light); }
.pp-dl dd { margin: 0; }

.pp-form { display: grid; gap: 12px; }
.pp-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.pp-form input, .pp-form select, .pp-form textarea { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 400; background: #fff; }
.pp-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pp-form .pp-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.pp-form .btn { justify-self: start; }
.pp-add-row td { background: #fafcfe; }
.pp-sticky-save { position: sticky; bottom: 12px; display: flex; justify-content: flex-start; z-index: 5; margin-bottom: 20px; }
.pp-sticky-save .btn { box-shadow: 0 12px 30px -8px rgba(21,101,192,.6); }

.pp-seg {
  position: relative; display: inline-flex; align-items: center;
  background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow-card);
}
.pp-seg a {
  position: relative; z-index: 1; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; color: var(--ink); transition: color .25s ease;
}
.pp-seg a.on { color: #fff; background: transparent; }
.pp-seg-pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; z-index: 0;
  width: 0; border-radius: 999px; background: var(--blue-700);
  box-shadow: 0 8px 18px -10px rgba(25,118,210,.7);
  transition: transform .35s cubic-bezier(.22,.7,.2,1), width .35s cubic-bezier(.22,.7,.2,1);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .pp-seg-pill { transition: none; }
}

.pp-bars { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; align-items: end; height: 180px; direction: ltr; padding: 0 2px; border-bottom: 1px solid var(--border); }
.pp-bar { height: 100%; display: flex; align-items: flex-end; }
.pp-bar i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); min-height: 0; transition: .2s; }
.pp-bar:hover i { background: var(--cyan-400); }
.pp-bars-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-light); margin-top: 6px; direction: ltr; }
.pp-bars-axis span { direction: rtl; }

.pp-hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pp-hbars li { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.pp-hbar { height: 10px; border-radius: 999px; background: #f0f4f7; overflow: hidden; }
.pp-hbar i { display: block; height: 100%; border-radius: 999px; background: var(--blue-600); }
.pp-hbar i[class*="pp-s-"] { background: currentColor; }

.pp-printonly { display: none; }

@media (max-width: 640px) {
  .pp-item { gap: 10px; }
  .pp-item-info { flex-basis: 100%; }
  .pp-qty { margin-inline-start: auto; }
  .pp-dl { grid-template-columns: 1fr; gap: 2px; }
  .pp-dl dd { margin-bottom: 8px; }
  .pp-track li { font-size: 10px; }
  .pp-admin-nav { border-radius: var(--radius-sm); }
  .pp-admin-nav .pp-admin-nav-site { margin-inline-start: 0; }
}

@media print {
  .site-header, .site-footer, .pp-admin-nav, .pp-noprint, .back-to-top { display: none !important; }
  .pp-printonly { display: inline; }
  main.container { padding-top: 0 !important; }
  .pp-panel, .pp-table-wrap { box-shadow: none; border: 1px solid #ccc; }
  body { background: #fff; }
}

/* keep horizontally-scrolling rows (tabs, days) from widening the grid on mobile */
.request-wrap > *, .request-form, .pp-order, .pp-step { min-width: 0; max-width: 100%; }

/* Homepage request call-to-action (form now lives in the customer panel) */
.pp-request-cta { text-align: center; padding: 20px 0; }
.pp-request-cta h3 { margin-bottom: 12px; }
.pp-request-cta p { color: var(--ink-light); margin-bottom: 20px; }
.pp-request-cta .btn { margin: 4px; display: inline-block; }

/* Auth pages (login / forgot password) */
.pp-auth { max-width: 440px; margin: 0 auto; }
.pp-auth-card { padding-top: 28px; padding-bottom: 28px; }
.pp-auth-title { text-align: center; font-size: 24px; margin: 0 0 10px; color: var(--ink); }
.pp-auth-hint { font-size: 14px; color: var(--ink-light); text-align: center; margin: 0 0 22px; line-height: 1.9; }
.pp-auth-form .field { margin-bottom: 14px; }
.pp-auth-form .form-submit { margin-top: 8px; }
.pp-auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--ink-light); font-size: 13px; }
.pp-auth-divider::before, .pp-auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pp-auth-forgot { display: flex; align-items: center; justify-content: center; width: 100%; text-align: center; box-sizing: border-box; }
.pp-auth-links { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-light); display: grid; gap: 8px; }
.pp-auth-links p { margin: 0; }
.pp-auth-links a { color: var(--blue-700); font-weight: 600; }
.pp-auth-secondary { display: grid; gap: 10px; margin-top: 12px; }
.pp-auth-textbtn { background: none; border: 0; color: var(--blue-700); font-weight: 600; cursor: pointer; padding: 6px; font-size: 14px; }
.pp-auth-textbtn:hover { text-decoration: underline; }
.pp-auth-steps {
  list-style: none; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0; margin: 0 0 22px; padding: 0; position: relative;
}
.pp-auth-steps::before {
  content: ""; position: absolute; top: 14px; right: 18%; left: 18%;
  border-top: 2px dotted #c5d0dc; z-index: 0; pointer-events: none;
}
.pp-auth-steps-2::before { right: 28%; left: 28%; }
.pp-auth-steps li {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-light); text-align: center; position: relative; z-index: 1;
}
.pp-auth-steps li span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink-light); font-weight: 700;
  border: 1.5px solid var(--border);
}
.pp-auth-steps li.is-current { color: var(--blue-800); font-weight: 700; }
.pp-auth-steps li.is-current span,
.pp-auth-steps li.is-done span {
  background: var(--blue-700); color: #fff; border-color: var(--blue-700);
}
.pp-auth-steps li.is-done:not(.is-current) { color: var(--blue-800); }
.pp-otp-input { text-align: center; letter-spacing: 0.45em; font-size: 22px; font-weight: 700; padding-inline: 12px !important; }
.pp-otp-boxes {
  display: flex; justify-content: center; gap: 10px; direction: ltr;
  margin: 6px 0 8px;
}
.pp-otp-digit {
  width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 800;
  border: 1.5px solid var(--border); border-radius: 14px; background: #fff;
  color: var(--blue-800); padding: 0 !important; caret-color: var(--blue-700);
}
.pp-otp-digit:focus {
  outline: none; border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(25,118,210,.15);
}
@media (max-width: 420px) {
  .pp-otp-boxes { gap: 8px; }
  .pp-otp-digit { width: 44px; height: 52px; font-size: 20px; }
}
.pp-pass { position: relative; }
.pp-pass input { padding-left: 70px !important; }
.pp-pass-toggle { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--blue-700); padding: 4px 8px; border-radius: 8px; background: transparent; border: 0; cursor: pointer; }
.pp-pass-toggle:hover { background: var(--bg-soft); }
.pp-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e53935; color: #fff; font-size: 11px; margin-inline-start: 4px; }
.pp-temp-pass { border: 2px solid var(--blue-400); }
.pp-temp-code { font-size: 32px; font-weight: 800; letter-spacing: 6px; text-align: center; padding: 14px; margin: 12px 0; background: var(--bg-soft); border-radius: var(--radius-sm); color: var(--blue-800); font-family: monospace; }

/* Section labels (eyebrow pills) removed site-wide; section titles carry the name */
.eyebrow { display: none !important; }

/* Header: account button replaces the pickup CTA; the nav keeps a copy only for the mobile menu (CTA is hidden <=720px) */
.main-nav .nav-mobile-only { display: none; }
@media (max-width: 720px) { .main-nav .nav-mobile-only { display: block; } }

/* Primary buttons: solid brand blue instead of the blue→cyan gradient */
.btn-primary { background: var(--blue-700); border: 0; box-shadow: 0 10px 24px -12px rgba(25,118,210,0.6); }
.btn-primary:hover { background: var(--blue-800); box-shadow: 0 14px 28px -12px rgba(21,101,192,0.65); }
.pp-step-num { background: var(--blue-700); }

/* ================= Customer panel (v4) ================= */
.pp-panel-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 24px; align-items: start; }
.pp-side {
  position: sticky; top: 100px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid rgba(25,118,210,.10);
  border-radius: 22px;
  box-shadow: 0 18px 40px -28px rgba(13,71,161,.45);
  padding: 14px;
}
.pp-side-user {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 12px 16px;
  margin: 0 0 12px;
  border-bottom: 1px solid rgba(25,118,210,.10);
}
.pp-side-user-meta { min-width: 0; }
.pp-side-user b { display: block; font-size: 15px; font-weight: 800; line-height: 1.35; }
.pp-side-user small { display: block; color: var(--ink-light); font-size: 12.5px; margin-top: 3px; letter-spacing: .2px; }
.pp-avatar {
  width: 46px; height: 46px; border-radius: 16px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--blue-600), var(--blue-800));
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 10px 18px -10px rgba(21,101,192,.75);
}
.pp-side-nav { display: grid; gap: 4px; position: relative; }
.pp-side-ink {
  position: absolute; top: 0; left: 0; z-index: 0;
  width: 0; height: 0; opacity: 0;
  border-radius: 14px;
  background: var(--blue-700);
  box-shadow: 0 12px 22px -14px rgba(25,118,210,.85);
  pointer-events: none;
  will-change: transform, width, height;
}
.pp-side-ink.is-ready {
  opacity: 1;
  transition:
    transform .38s cubic-bezier(.22,.7,.2,1),
    width .38s cubic-bezier(.22,.7,.2,1),
    height .38s cubic-bezier(.22,.7,.2,1),
    opacity .2s ease;
}
.pp-side-nav a {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 14px;
  color: var(--ink); font-size: 14px; font-weight: 700;
  border: 1px solid transparent; background: transparent;
  transition: color .22s ease, background .18s ease, border-color .18s ease;
}
.pp-side-link { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.pp-side-ico {
  width: 34px; height: 34px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: #eef5fd; color: var(--blue-700);
  transition: background .22s ease, color .22s ease;
}
.pp-side-ico svg { width: 17px; height: 17px; display: block; }
.pp-side-label { line-height: 1.2; }
.pp-side-nav a:not(.pp-side-logout):not(.active):hover { background: #eef5fd; border-color: rgba(25,118,210,.12); }
.pp-side-nav a.active {
  background: transparent; border-color: transparent; color: #fff;
  box-shadow: none;
}
.pp-side-nav a.active .pp-side-ico { background: rgba(255,255,255,.18); color: #fff; }
.pp-side-nav a.pp-side-cta:not(.active) { color: var(--blue-700); }
.pp-side-nav a.pp-side-cta:not(.active) .pp-side-ico { background: rgba(25,118,210,.12); }
.pp-side-nav .pp-side-logout {
  margin-top: 8px; padding-top: 10px;
  color: #d32f2f; font-weight: 700;
  background: #fff7f7; border-color: #f8d7d7; border-radius: 14px;
  position: relative; z-index: 1;
}
.pp-side-nav .pp-side-logout::before {
  content: ""; position: absolute; top: -7px; right: 8px; left: 8px; height: 1px;
  background: rgba(25,118,210,.10);
}
.pp-side-nav .pp-side-logout .pp-side-ico { background: #fdecea; color: #d32f2f; }
.pp-side-nav .pp-side-logout:hover { background: #fdecea; color: #c62828; border-color: #f3bdbd; }
@media (prefers-reduced-motion: reduce) {
  .pp-side-ink.is-ready { transition: none; }
}
.pp-main { min-width: 0; }
.pp-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pp-page-title { font-family: 'IRANYekan', Tahoma, sans-serif; font-size: 26px; font-weight: 800; margin: 0; color: var(--ink); }
/* Panel: use IRANYekan for titles (homepage keeps Doran) */
body.pp-is-panel h1,
body.pp-is-panel h2,
body.pp-is-panel h3,
body.pp-is-panel h4,
body.pp-is-panel .pp-page-title,
body.pp-is-panel .pp-card-title,
body.pp-is-panel .pp-step-head,
body.pp-is-panel .pp-track-txt b {
  font-family: 'IRANYekan', Tahoma, sans-serif;
}
body.pp-is-panel .logo {
  font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif;
}
.pp-dash-head p { margin: 0; }
.pp-wallet-soft { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.pp-wallet-soft:hover { transform: translateY(-2px); }
.pp-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pp-empty h3 { margin: 0 0 4px; font-size: 18px; }
.pp-anim {
  animation: ppDashIn .45s cubic-bezier(.22,.7,.2,1) both;
}
.pp-anim:nth-of-type(1) { animation-delay: .02s; }
.pp-anim:nth-of-type(2) { animation-delay: .06s; }
.pp-anim:nth-of-type(3) { animation-delay: .10s; }
.pp-anim:nth-of-type(4) { animation-delay: .14s; }
.pp-anim:nth-of-type(5) { animation-delay: .18s; }
.pp-anim:nth-of-type(6) { animation-delay: .22s; }
@keyframes ppDashIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-anim { animation: none; }
}
.pp-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-cta-big { padding: 14px 28px; font-size: 15px; }
.pp-btn-sm { padding: 8px 16px; font-size: 13px; }
.pp-card { display: block; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 20px 22px; margin-bottom: 18px; color: var(--ink); }
a.pp-card:hover { box-shadow: 0 16px 32px -14px rgba(16,31,77,.25); }
.pp-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.pp-card-head h3 { margin: 2px 0 0; font-size: 18px; }
.pp-card-title { font-size: 17px; margin: 0 0 14px; }
.pp-active-card { border-inline-start: 4px solid var(--blue-700); }
.pp-active-top,
.pp-active-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pp-active-top { margin-bottom: 8px; }
.pp-active-top .pp-muted { font-size: 13px; font-weight: 700; }
.pp-active-mid h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}
.pp-active-price {
  color: var(--blue-800);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.pp-active-more {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: var(--ink-light);
}
.pp-active-cta {
  width: 100%;
  margin-top: 14px;
}
.pp-empty { text-align: center; padding: 34px 22px; }
.pp-empty h3 { margin: 0 0 8px; }
.pp-empty .btn { margin-top: 14px; }
.pp-dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 18px; }
.pp-dash-grid .pp-card { margin: 0; }
.pp-stat-card { display: flex; flex-direction: column; gap: 4px; }
.pp-stat-card b { font-size: 22px; color: var(--blue-800); }
.pp-stat-card small { color: var(--blue-700); font-size: 12.5px; }
.pp-wallet-card { background: var(--blue-700); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.pp-wallet-card b { font-size: 26px; }
.pp-wallet-card small { opacity: .85; }
.pp-coupons { display: grid; gap: 10px; }
.pp-coupon { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1.5px dashed var(--blue-300); border-radius: 14px; padding: 12px 16px; background: #f7fbff; }
.pp-coupon small { display: block; color: var(--ink-light); font-size: 12.5px; }
.pp-coupon code, .pp-code-form code { font-weight: 800; letter-spacing: 1px; color: var(--blue-800); background: #fff; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--border); }
.pp-mini-list { list-style: none; margin: 0; padding: 0; }
.pp-mini-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.pp-mini-list li:last-child { border-bottom: 0; }
.pp-alert-warn { background: #fff4e5; color: #8a4b00; }
.pp-alert-link { display: block; font-weight: 600; }
.pp-alert-link:hover { filter: brightness(.97); }
.pp-pos { color: #2e7d32; font-weight: 700; }
.pp-neg { color: #c62828; font-weight: 700; }
.pp-danger { color: #c62828 !important; }
.pp-orders { display: grid; gap: 14px; }
.pp-orders .pp-card { margin: 0; }
.pp-clip-2 { margin: 0 0 12px; color: var(--ink-light); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pp-order-row-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 14px; }
.pp-order-row-foot b { color: var(--blue-800); font-size: 16px; }
.pp-order-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pp-order-act {
  min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 13.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.pp-order-act.btn-primary { box-shadow: 0 10px 20px -12px rgba(25,118,210,.75); }
.pp-settle-due-only {
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px;
  padding: 14px 16px; border-radius: 14px; background: #f7fafd;
}
.pp-settle-due-only small { font-size: 12px; font-weight: 800; color: var(--blue-700); }
.pp-settle-due-only b { font-size: 24px; font-weight: 800; color: var(--blue-800); }

/* 7-step tracker */
.pp-track-7 li { font-size: 11px; line-height: 1.5; padding-inline: 2px; }
@media (max-width: 640px) {
  .pp-track-7 { flex-direction: column; gap: 0; }
  .pp-track-7 li { text-align: right; padding: 0 26px 12px 0; font-size: 13px; }
  .pp-track-7 li span { right: 4px; top: 4px; transform: none; }
  .pp-track-7 li::before { top: -12px; right: 9px; width: 2px; height: 18px; }
}
.pp-s-at_workshop { background: #e8eaf6; color: #3949ab; }
.pp-s-out_for_delivery { background: #e0f2f1; color: #00796b; }

/* invoice confirm */
.pp-invoice-confirm { border: 2px solid #ffb74d; }
.pp-confirm-actions { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.pp-dispute summary { list-style: none; cursor: pointer; }
.pp-dispute summary::-webkit-details-marker { display: none; }
.pp-dispute form { margin-top: 10px; display: grid; gap: 8px; min-width: 280px; }
.pp-dispute textarea, .pp-code-form input, .pp-note { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; width: 100%; }
.pp-code-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pp-code-form input { max-width: 240px; }

/* addresses */
.pp-addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.pp-addr-grid .pp-card { margin: 0; }
.pp-addr.is-default { border: 2px solid var(--blue-400); }
.pp-addr p { margin: 0 0 12px; font-size: 14px; color: var(--ink-light); line-height: 1.9; }
.pp-addr-actions { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.pp-addr-actions form { display: inline; }
.pp-chip-map { background: #e8f5e9; color: #2e7d32; }
.pp-map-block { margin: 14px 0 18px; padding: 14px; border: 1.5px solid var(--border); border-radius: 16px; background: #f7fbff; }
.pp-map-block-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pp-map-block-top b { font-size: 14px; }
.pp-map-status { margin: 0; font-size: 13px; color: var(--ink-light); line-height: 1.7; }
.pp-map-status-ok { color: #2e7d32; font-weight: 600; }
.pp-map {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: #e8eef4;
  z-index: 1;
}
.pp-map.pp-map-admin { height: 220px; }
.leaflet-container { font: inherit; }

/* Fullscreen map picker (Paklean-style: fixed center pin) */
body.pp-map-picker-open { overflow: hidden; }
.pp-map-picker {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  flex-direction: column;
  background: #0f172a;
}
.pp-map-picker.is-open { display: flex; }
.pp-map-picker-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--blue-700, #1565C0);
  color: #fff;
}
.pp-map-picker-bar b { flex: 1; text-align: center; font-size: 16px; font-weight: 700; }
.pp-map-picker-icon {
  width: 40px; height: 40px; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.16); color: #fff; cursor: pointer;
  display: grid; place-items: center; flex: none;
}
.pp-map-picker-icon svg { width: 20px; height: 20px; display: block; }
.pp-map-picker-body { position: relative; flex: 1; min-height: 0; isolation: isolate; }
.pp-map-picker-map { position: absolute; inset: 0; z-index: 1; }
.pp-map-picker-map .leaflet-container { height: 100%; width: 100%; }
.pp-map-picker-search {
  position: absolute; top: 12px; right: 12px; left: 12px; z-index: 30;
}
.pp-map-preview-block { margin: 0 0 16px; }
.pp-map.pp-map-preview {
  height: 160px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  background: #e8eef4;
}
.pp-map-locate {
  position: absolute;
  left: 12px;
  bottom: 18px;
  z-index: 25;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-700, #1565C0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 101, 192, .35);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.pp-map-locate:disabled { opacity: .65; cursor: wait; }
.pp-map-locate svg { width: 22px; height: 22px; display: block; }
.pp-map-locate-msg {
  position: absolute;
  left: 66px;
  right: 12px;
  bottom: 22px;
  z-index: 25;
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, .88);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.5;
}
.pp-map-locate-msg.is-err { background: rgba(183, 28, 28, .92); }
.pp-map-picker-search-box {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 14px; padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}
.pp-map-picker-search-box svg { width: 18px; height: 18px; color: #64748b; flex: none; }
.pp-map-picker-search-box input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 14px; color: #0f172a; text-align: right;
}
.pp-map-picker-search-clear {
  border: 0; background: #e2e8f0; color: #475569; width: 28px; height: 28px;
  border-radius: 999px; cursor: pointer; flex: none; font-size: 16px; line-height: 1;
}
.pp-map-search-results {
  margin-top: 8px; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .16); max-height: 220px; overflow-y: auto;
}
.pp-map-search-item {
  display: block; width: 100%; text-align: right; border: 0; border-bottom: 1px solid #eef2f7;
  background: #fff; padding: 12px 14px; cursor: pointer; font: inherit;
}
.pp-map-search-item:last-child { border-bottom: 0; }
.pp-map-search-item b { display: block; font-size: 14px; color: #0f172a; }
.pp-map-search-item small { display: block; margin-top: 3px; color: #64748b; font-size: 12px; }
.pp-map-search-empty { padding: 14px; text-align: center; color: #64748b; font-size: 13px; }
.pp-map-center-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  pointer-events: none;
  width: 40px;
  height: 52px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, .4));
  transition: transform .12s ease;
}
.pp-map-picker-body.is-moving .pp-map-center-pin {
  transform: translate(-50%, calc(-100% - 10px));
}
.pp-map-center-pin svg { width: 40px; height: 52px; display: block; }
.pp-map-picker-foot {
  flex: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff; box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
}
.pp-map-picker-foot .btn { width: 100%; min-height: 48px; font-size: 16px; border-radius: 14px; }
@media (max-width: 640px) {
  .pp-map { height: 200px; }
}
.pp-label-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-chip-btn { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: 13px; color: var(--ink); }
.pp-chip-btn:hover:not(:disabled) { border-color: var(--blue-500); color: var(--blue-700); }
.pp-chip-btn:disabled { opacity: .5; cursor: not-allowed; }
.pp-topup { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pp-topup-amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-toggles { display: flex; gap: 20px; flex-wrap: wrap; }

/* order form: address, delivery type, notes */
.pp-addr-pick, .pp-dtype { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
.pp-addr-opt, .pp-dtype-opt { position: relative; cursor: pointer; }
.pp-addr-opt input, .pp-dtype-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pp-addr-opt span, .pp-dtype-opt span { display: block; height: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; transition: .2s; font-size: 14px; }
.pp-addr-opt small, .pp-dtype-opt small { display: block; color: var(--ink-light); font-size: 12.5px; margin-top: 4px; line-height: 1.8; }
.pp-addr-opt em { font-style: normal; font-size: 11px; color: var(--blue-700); background: var(--bg-soft); border-radius: 999px; padding: 1px 8px; }
.pp-addr-opt input:checked + span, .pp-dtype-opt input:checked + span { border-color: var(--blue-700); background: #f3faff; box-shadow: 0 0 0 3px rgba(25,118,210,.12); }
.pp-dtype-opt input:disabled + span { opacity: .5; cursor: not-allowed; }
.pp-new-addr[hidden] { display: none; }
.pp-cart-lines li { flex-wrap: wrap; }
.pp-cart-lines .pp-note { flex-basis: 100%; padding: 7px 10px; font-size: 12.5px; background: #fff; }

/* support */
.pp-quick-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pp-quick-help .pp-card { margin: 0; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--blue-800); }
.pp-tstatus { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pp-t-open { background: #fff4e5; color: #b26a00; }
.pp-t-answered { background: #e8f5e9; color: #2e7d32; }
.pp-t-closed { background: #f5f5f5; color: #757575; }
.pp-thread { display: grid; gap: 12px; }
.pp-msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; background: #f3f6f9; }
.pp-msg-admin { background: #e8f3ff; justify-self: end; }
.pp-msg.mine { justify-self: start; background: #f3f6f9; }
.pp-msg.mine.pp-msg-admin { background: #e8f3ff; }
.pp-msg-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; margin-bottom: 6px; }
.pp-msg-head small { color: var(--ink-light); }
.pp-msg-body { font-size: 14.5px; line-height: 1.9; }
.pp-msg-img img { margin-top: 10px; max-width: 240px; max-height: 240px; border-radius: 12px; display: block; }
.pp-filter-select { border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font: inherit; }

@media (max-width: 900px) {
  .pp-panel-layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* Flush under fixed header — no enclosing card/stroke */
  .pp-side {
    position: sticky;
    top: 78px;
    z-index: 900;
    min-width: 0;
    margin-inline: -24px;
    width: auto;
    padding: 8px 16px 10px;
    border: 0;
    border-radius: 0;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    box-shadow: 0 10px 22px -18px rgba(13,71,161,.35);
  }
  .pp-side-user { display: none; }
  .pp-side-nav {
    display: flex; overflow-x: auto; gap: 6px;
    padding: 8px 4px 12px; /* room so active blue shadow isn’t clipped */
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity;
  }
  .pp-side-nav::-webkit-scrollbar { display: none; }
  .pp-side-ink {
    border-radius: 999px;
    box-shadow: 0 8px 18px -6px rgba(25,118,210,.55);
  }
  .pp-side-nav a {
    flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start;
    padding: 8px 14px 8px 10px; border-radius: 999px;
    background: #eef5fd; border: 0;
    font-size: 13.5px; box-shadow: none;
  }
  .pp-side-nav a:not(.pp-side-logout):not(.active):hover {
    background: #e3eefb; border-color: transparent;
  }
  .pp-side-nav a.active { background: transparent; border: 0; color: #fff; }
  .pp-side-ico { width: 28px; height: 28px; border-radius: 999px; background: #fff; }
  .pp-side-ico svg { width: 15px; height: 15px; }
  .pp-side-nav a.active .pp-side-ico { background: rgba(255,255,255,.22); }
.pp-side-nav .pp-side-logout {
  margin: 0; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: #fff5f5; border: 0; color: #d32f2f;
}
.pp-side-nav .pp-side-logout::before { display: none; }
.pp-side-nav .pp-side-logout .pp-side-ico { background: #fff; }
.pp-msg { max-width: 100%; }
}

/* Panel pages: user-menu button owns mobile nav; desktop keeps sidebar */
@media (max-width: 720px) {
  body.pp-is-panel .pp-side { display: none !important; }
}
@media (min-width: 721px) {
  body.pp-is-panel .main-nav-panel { display: none; }
}
.menu-toggle-user {
  display: none;
  width: auto;
  height: auto;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 14px;
  background: var(--blue-700);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(25,118,210,.85);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.menu-toggle-user:hover,
.menu-toggle-user:active {
  background: var(--blue-800);
  color: #fff;
}
.menu-toggle-user.open {
  background: var(--blue-800);
  box-shadow: 0 10px 20px -12px rgba(13,71,161,.7);
}
@media (max-width: 720px) {
  .menu-toggle-user { display: inline-flex; }
}
.pp-side-nav .pp-side-home {
  margin-top: 8px; padding-top: 10px;
  color: var(--ink); border-color: transparent;
  position: relative; z-index: 1;
}
.pp-side-nav .pp-side-home::before {
  content: ""; position: absolute; top: -7px; right: 8px; left: 8px; height: 1px;
  background: rgba(25,118,210,.10);
}
.pp-side-nav .pp-side-home .pp-side-ico { background: #eef5fd; color: var(--blue-700); }
.pp-side-nav .pp-side-home:hover { background: #eef5fd; border-color: rgba(25,118,210,.12); }
.pp-side-nav .pp-side-logout { margin-top: 4px; }
.pp-side-nav .pp-side-logout::before { display: none; }
.main-nav-panel a.is-active { color: var(--blue-700); }
@media (max-width: 720px) {
  .main-nav-panel a.is-active { background: #EEF5FD; }
  .main-nav-panel a.is-active .nav-ico { background: var(--blue-700); color: #fff; }
  .main-nav-panel .nav-cta .nav-ico { background: rgba(255,255,255,.2); color: #fff; }
  .main-nav-panel .nav-logout .nav-ico { background: #fdecea; color: #d32f2f; }
  .main-nav.open a:nth-child(9) { transition-delay: .27s; }
  .main-nav.open a:nth-child(10) { transition-delay: .30s; }
}

/* ================= Landing page (v5) ================= */
.pp-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.pp-header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--blue-800); padding: 8px 12px; border-radius: 999px; transition: .2s; }
.pp-header-phone svg { width: 18px; height: 18px; }
.pp-header-phone:hover { background: var(--bg-soft); }
@media (max-width: 1150px) {
  .main-nav { gap: 20px; }
  .pp-header-phone span { display: none; }
}
@media (max-width: 720px) {
  .pp-header-phone { padding: 8px; }
  .pp-header-actions { margin-inline-start: auto; gap: 4px; }
}

.pp-hero { padding: 150px 0 100px; }
.pp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.pp-hero-text { text-align: right; }
.pp-hero-text h1 { font-size: clamp(30px, 4.6vw, 52px); }
.pp-hero-text p { margin: 0 0 32px; max-width: 560px; }
.pp-hero-text .hero-actions { justify-content: flex-start; margin-bottom: 28px; }
.pp-hero-badges { justify-content: flex-start; margin-bottom: 0; }
@keyframes ppFloat { 50% { transform: translateY(-10px); } }
@media (max-width: 900px) {
  .pp-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .pp-hero-text { text-align: center; }
  .pp-hero-text p { margin-inline: auto; }
  .pp-hero-text .hero-actions, .pp-hero-badges { justify-content: center; }
  .pp-hero-art { order: -1; }
}
@media (max-width: 720px) { .pp-hero { padding: 110px 0 70px; } }

.pp-process-4 { grid-template-columns: repeat(4, 1fr); }
.pp-process-4::before { right: 12.5%; left: 12.5%; }
@media (max-width: 980px) { .pp-process-4 { grid-template-columns: repeat(2, 1fr); } }

/* Pricing list: icon | title+desc | price  (standard Lucide/Material icons) */
.pp-pricing { position: relative; }
.pp-svc-list {
  display: grid; gap: 12px; margin: 0 0 34px; padding: 0;
}
.pp-svc-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 16px 18px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 18px;
  box-shadow: 0 10px 24px -18px rgba(16,31,77,.35);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pp-svc-line:hover {
  border-color: rgba(25,118,210,.28);
  box-shadow: 0 14px 28px -16px rgba(13,71,161,.35);
  transform: translateY(-2px);
}
.pp-svc-ico {
  width: 72px; height: 72px; border-radius: 18px;
  display: grid; place-items: center; flex: none;
  background: #eef6fd; color: var(--blue-800);
}
.pp-svc-ico svg { width: 40px; height: 40px; display: block; }
.pp-svc-copy { min-width: 0; }
.pp-svc-copy h3 {
  font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif;
  font-weight: 800; font-size: 20px; color: #111;
  margin: 0 0 4px; letter-spacing: -.2px;
}
.pp-svc-copy p { margin: 0; color: var(--ink-light); font-size: 14px; line-height: 1.8; }
.pp-svc-price {
  font-size: 14px; color: var(--ink-light); white-space: nowrap;
  text-align: left; padding-inline-start: 8px;
}
.pp-svc-price b {
  font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif;
  font-weight: 800; font-size: 22px; color: #111; margin: 0 4px;
}
.pp-svc-price a { color: var(--blue-700); font-weight: 700; }
@media (max-width: 720px) {
  .pp-svc-line {
    grid-template-columns: 60px minmax(0, 1fr);
    padding: 16px;
    gap: 12px 14px;
  }
  .pp-svc-ico { width: 60px; height: 60px; border-radius: 16px; }
  .pp-svc-ico svg { width: 34px; height: 34px; }
  .pp-svc-price {
    grid-column: 2; white-space: normal; text-align: right;
    padding: 0; margin-top: -2px;
  }
  .pp-svc-copy h3 { font-size: 18px; }
}
.pp-full-tariff { text-align: center; }
.pp-full-tariff > summary { list-style: none; display: inline-flex; cursor: pointer; border-color: #111; color: #111; }
.pp-full-tariff > summary:hover { border-color: #111; color: #111; background: rgba(17,17,17,.04); }
.pp-full-tariff > summary::-webkit-details-marker { display: none; }
.pp-full-tariff[open] > summary { margin-bottom: 26px; }
.pp-full-tariff-body { text-align: right; }

.pp-why-5 { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.pp-why-5 h3 { font-size: 17px; }
.pp-why-5 p { font-size: 14px; }
@media (max-width: 1100px) { .pp-why-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pp-why-5 { grid-template-columns: 1fr; } }

.pp-area { padding: 70px 0; background: #fff; }
.pp-area-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: linear-gradient(135deg, #f3faff, #e9f5ff); border: 0; border-radius: var(--radius-lg); padding: 30px 34px; }
.pp-area-icon svg { width: 84px; height: 84px; display: block; }
.pp-area-text h2 { font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif; font-size: clamp(22px, 3vw, 30px); margin: 0 0 8px; color: var(--ink); }
.pp-area-text p { margin: 0; color: var(--ink-light); line-height: 2; }
.pp-area-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) {
  .pp-area-card { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .pp-area-icon svg { margin: 0 auto; }
  .pp-area-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

.pp-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.pp-review { margin: 0; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.pp-stars { color: #f5a623; letter-spacing: 2px; font-size: 18px; }
.pp-stars span { color: #dfe5ea; }
.pp-review blockquote { margin: 0; color: var(--ink); line-height: 2; font-size: 15px; flex: 1; }
.pp-review figcaption { color: var(--ink-light); font-size: 13.5px; font-weight: 700; }

.pp-footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
@media (max-width: 980px) { .pp-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .pp-footer-grid { grid-template-columns: 1fr; } }
.pp-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pp-social a { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 13px; }
.pp-social a:hover { background: rgba(255,255,255,.1); }
.pp-trust { margin-top: 14px; background: #fff; border-radius: 12px; display: inline-block; padding: 6px; }

/* Static pages (terms, privacy, guide) */
.pp-doc { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 34px 38px; line-height: 2.1; }
.pp-doc h1 { font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif; font-size: 28px; margin: 0 0 6px; }
.pp-doc h2 { font-size: 19px; margin: 26px 0 8px; color: var(--blue-800); }
.pp-doc ol, .pp-doc ul { padding-inline-start: 22px; }
@media (max-width: 600px) { .pp-doc { padding: 24px 20px; } }

/* Review form */
.pp-rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.pp-rating input { position: absolute; opacity: 0; pointer-events: none; }
.pp-rating label { font-size: 34px; color: #dfe5ea; cursor: pointer; line-height: 1; transition: .15s; }
.pp-rating input:checked ~ label, .pp-rating label:hover, .pp-rating label:hover ~ label { color: #f5a623; }
.pp-review-orders { display: grid; gap: 10px; }


/* ---------- hero v7: photo ---------- */
.pp-hero-photo {
  background: #EAF3FC; min-height: clamp(640px, 46vw, 860px);
  display: flex; align-items: center; overflow-x: clip;
}
.pp-hero-photo::before, .pp-hero-photo::after { display: none; }
.pp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pp-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: left 35%; display: block; }
.pp-hero-photo .pp-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(238,245,252,.92) 0%, rgba(238,245,252,.75) 38%, rgba(238,245,252,0) 60%); }
.pp-hero-photo .container { width: 100%; max-width: 100%; }
.pp-hero-photo .pp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pp-hero-photo .pp-hero-text {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
.pp-hero-photo h1 {
  color: var(--blue-900);
  font-family: 'IRANYekan', Tahoma, sans-serif;
  font-weight: 800;
  text-wrap: unset;
  max-width: min(560px, 100%);
  width: 100%;
  box-sizing: border-box;
}
.pp-hero-photo h1 .pp-hero-line {
  display: block;
  white-space: nowrap;
  max-width: 100%;
}
.pp-hero-photo h1 .pp-hero-brand {
  font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -.04em;
}
@media (max-width: 900px) {
  .pp-hero-photo .pp-hero-text h1 {
    margin-inline: auto;
    width: 100%;
    max-width: min(560px, 100%);
  }
  .pp-hero-photo .pp-hero-text p {
    max-width: min(560px, 100%);
    margin-inline: auto;
  }
}
.pp-hero-photo h1 .accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue-700); }
.pp-hero-photo p { color: #111; }
.pp-hero-photo .hero-eyebrow { color: var(--blue-800); background: rgba(255,255,255,.75); border-color: rgba(25,118,210,.35); }
.pp-hero-photo .hero-eyebrow::before, .pp-hero-photo .hero-eyebrow::after { outline-color: rgba(25,118,210,.35); }
.pp-hero-photo .hero-eyebrow svg { color: var(--blue-700); }
.pp-hero-photo .badge { background: rgba(255,255,255,.85); border-color: rgba(25,118,210,.18); color: var(--blue-900); box-shadow: 0 8px 20px -12px rgba(13,71,161,.35); }
.pp-hero-photo .badge svg { color: var(--blue-700); }
.pp-hero-photo .badge .shine::before { background: linear-gradient(100deg, transparent 40%, rgba(25,118,210,.10) 50%, transparent 60%); }
@media (max-width: 991px) {
  .pp-hero-photo { display: block; min-height: 0; padding: 70px 0 60px; background: #F3F8FD; }
  .pp-hero-bg { position: relative; inset: auto; height: 320px; margin-bottom: 22px; }
  .pp-hero-bg img { object-position: 30% center; }
  .pp-hero-photo .pp-hero-bg::after { background: linear-gradient(to top, #F3F8FD 0%, rgba(243,248,253,0) 35%); }
  .pp-hero-photo .pp-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) { .pp-hero-photo { padding-top: 64px; } .pp-hero-bg { height: 230px; } }

/* ---------- section wave dividers v8 ---------- */
.pp-wave { position: relative; height: 96px; line-height: 0; overflow: hidden; pointer-events: none; }
.pp-wave svg { position: absolute; bottom: -1px; left: 0; width: 200%; height: 100%; }
.pp-wave path { fill: var(--wave-fill, #fff); }
.pp-wave .w1 { fill: #64B5F6; opacity: .22; animation: ppWave 18s linear infinite; }
.pp-wave .w2 { opacity: .6; animation: ppWave 13s linear infinite reverse; }
.pp-wave .w3 { animation: ppWave 22s linear infinite; }
@keyframes ppWave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pp-wave-hero { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; --wave-fill: #fff; }
.pp-wave-to-soft { background: #fff; --wave-fill: var(--bg-soft); margin-top: -1px; }
.pp-wave-to-white { background: var(--bg-soft); --wave-fill: #fff; margin-top: -1px; }
.pp-wave-to-footer { background: #fff; --wave-fill: #0D47A1; margin-bottom: -1px; }
.pp-wave-to-footer + .site-footer, .pp-wave-to-footer + footer { margin-top: 0; }
.pp-hero-photo .pp-hero-text h1 { font-size: clamp(30px, 5.2vw, 52px); line-height: 1.35; }
@media (max-width: 900px) {
  .pp-hero-photo .pp-hero-text h1 { font-size: clamp(28px, 8.4vw, 40px); }
}
@media (max-width: 991px) { .pp-wave { height: 56px; } .pp-wave svg { width: 500%; } }
@media (prefers-reduced-motion: reduce) { .pp-wave path { animation: none; } }

/* ---------- process numbers v10: plain outlined digits ---------- */
.pp-process-4::before { top: 38px; }
.pp-process-4 .process-step .num { width: auto; height: 76px; margin: 0 auto 14px; border: 0; border-radius: 0; background: none; box-shadow: none; animation: none; display: flex; align-items: center; justify-content: center; }
.pp-process-4 .process-step .num span { display: inline-block; padding: 0 14px; background: #fff; font-family: 'IRANYekan', Tahoma, sans-serif; font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.8px var(--c, var(--blue-700)); letter-spacing: 2px; }
.pp-process-4 .process-step:nth-child(1) .num { --c: #5C6BC0; }
.pp-process-4 .process-step:nth-child(2) .num { --c: #1976D2; }
.pp-process-4 .process-step:nth-child(3) .num { --c: #00ACC1; }
.pp-process-4 .process-step:nth-child(4) .num { --c: #26A69A; }
.pp-process-4 .process-step h4 { font-size: 21px; margin-bottom: 10px; color: var(--blue-900); }
.pp-process-4 .process-step p { font-size: 14px; line-height: 1.9; }
@media (max-width: 720px) { .pp-process-4 .process-step .num span { font-size: 52px; } .pp-process-4 .process-step h4 { font-size: 18px; } }


.section-title:not(:has(+ .section-sub)) { margin-bottom: 44px; }

/* ---------- v12: solid logo mark, why bg ---------- */
.logo-mark { animation: none; background: var(--blue-700); }
.logo-mark.logo-mark-footer { background: var(--cyan-400); }
.why { background: #fff; }

/* ---------- v13: tighter section spacing (home) ---------- */
.process, .services.pricing, .why, .testimonials, .faq { padding: 64px 0; }
.process { padding-top: 36px; }
.pp-area { padding: 48px 0; }
.pp-wave { height: 72px; }
.pp-process-4 { margin-top: 30px; }
.section-title:not(:has(+ .section-sub)) { margin-bottom: 36px; }
@media (max-width: 991px) {
  .process, .services.pricing, .why, .testimonials, .faq { padding: 44px 0; }
  .process { padding-top: 24px; }
  .pp-area { padding: 32px 0; }
  .pp-wave { height: 48px; }
  .section-title:not(:has(+ .section-sub)) { margin-bottom: 26px; }
}

/* ---------- v14: dashboard track CTA ---------- */
.pp-track-cta { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-top: 18px; border-radius: var(--radius-md); background: var(--blue-700); color: #fff; text-decoration: none; box-shadow: 0 14px 30px -16px rgba(25,118,210,.7); transition: transform .2s ease, background .2s ease; }
.pp-track-cta:hover { background: var(--blue-800); transform: translateY(-2px); color: #fff; }
.pp-track-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.pp-track-ico svg { width: 28px; height: 28px; }
.pp-track-txt { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.pp-track-txt b { font-family: 'Doran', 'IRANYekan', Tahoma, sans-serif; font-weight: 800; font-size: 22px; }
.pp-track-txt small { opacity: .85; font-size: 13px; }
.pp-track-arrow { font-size: 24px; flex: none; }

/* ---------- v15: mobile menu redesign ---------- */
.main-nav .nav-ico { display: none; }
.main-nav a > span { display: inline; }
@media (max-width: 720px) {
  .main-nav { top: 80px; right: 12px; left: 12px; padding: 12px; gap: 4px; border-radius: 22px; background: #fff; border: 1px solid rgba(25,118,210,.10); box-shadow: 0 24px 50px -20px rgba(13,71,161,.45), 0 0 0 100vmax rgba(13,40,90,0); max-height: calc(100vh - 100px); overflow-y: auto; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s ease, box-shadow .3s ease; }
  .main-nav.open { transform: none; box-shadow: 0 24px 50px -20px rgba(13,71,161,.45), 0 0 0 100vmax rgba(13,40,90,.28); }
  .main-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 14px; font-size: 15.5px; font-weight: 700; color: var(--ink); transition: background .2s ease, transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s ease; opacity: 0; transform: translateX(16px); }
  .main-nav a::after { display: none; }
  .main-nav.open a { opacity: 1; transform: none; }
  .main-nav.open a:nth-child(1) { transition-delay: .03s; } .main-nav.open a:nth-child(2) { transition-delay: .06s; } .main-nav.open a:nth-child(3) { transition-delay: .09s; } .main-nav.open a:nth-child(4) { transition-delay: .12s; } .main-nav.open a:nth-child(5) { transition-delay: .15s; } .main-nav.open a:nth-child(6) { transition-delay: .18s; } .main-nav.open a:nth-child(7) { transition-delay: .21s; } .main-nav.open a:nth-child(8) { transition-delay: .24s; }
  .main-nav a:hover, .main-nav a:active { background: #EEF5FD; }
  .main-nav .nav-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #EAF3FC; color: var(--blue-700); flex: none; }
  .main-nav .nav-ico svg { width: 19px; height: 19px; }
  .main-nav a:not(.nav-mobile-only)::before { content: "‹"; order: 3; margin-right: auto; color: #a9b8c8; font-size: 20px; line-height: 1; }
  .main-nav .nav-mobile-only { display: flex; }
  .main-nav .nav-phone { margin-top: 8px; border: 1px solid rgba(25,118,210,.16); background: #F7FAFE; }
  .main-nav .nav-phone > span { flex: 1; font-size: 14px; }
  .main-nav .nav-phone b { color: var(--blue-700); font-size: 15px; letter-spacing: .3px; }
  .main-nav .nav-phone .nav-ico { background: var(--blue-700); color: #fff; }
  .main-nav .nav-cta { justify-content: center; margin-top: 8px; padding: 14px; background: var(--blue-700); color: #fff; font-size: 16px; box-shadow: 0 12px 24px -12px rgba(25,118,210,.8); }
  .main-nav .nav-cta:hover, .main-nav .nav-cta:active { background: var(--blue-800); color: #fff; }
  .main-nav .nav-logout { justify-content: center; font-size: 13.5px; font-weight: 500; color: var(--ink-light); padding: 8px; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) { .main-nav a { transition: none; opacity: 1; transform: none; } }

/* ---------- v16: site mobile logout chip ---------- */
@media (max-width: 720px) {
  .main-nav .nav-logout { margin-top: 6px; padding: 12px; border-radius: 14px; background: #fff5f5; border: 1px solid #f8d0d0; color: #d32f2f; font-size: 14.5px; font-weight: 700; }
  .main-nav .nav-logout:hover, .main-nav .nav-logout:active { background: #fdecea; color: #c62828; }
  /* Panel menu: home is the primary CTA; logout stays small to avoid mis-taps */
  .main-nav-panel .nav-cta {
    margin-top: 12px; padding: 15px 14px; font-size: 16.5px; font-weight: 800;
    box-shadow: 0 14px 28px -12px rgba(25,118,210,.85);
  }
  .main-nav-panel .nav-logout {
    margin-top: 10px; padding: 6px 10px; border-radius: 10px;
    background: transparent; border: 0; color: #b71c1c;
    font-size: 12.5px; font-weight: 600; justify-content: center; gap: 8px;
  }
  .main-nav-panel .nav-logout .nav-ico {
    width: 26px; height: 26px; border-radius: 8px; background: #fdecea; color: #d32f2f;
  }
  .main-nav-panel .nav-logout .nav-ico svg { width: 14px; height: 14px; }
  .main-nav-panel .nav-logout:hover,
  .main-nav-panel .nav-logout:active { background: #fff5f5; color: #c62828; }
}

/* ---------- v17: mobile menu backdrop ---------- */
.pp-nav-backdrop { position: fixed; inset: 0; z-index: 999; background: rgba(8,22,48,.78); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.pp-nav-backdrop.show { opacity: 1; pointer-events: auto; }
html.pp-nav-lock, html.pp-nav-lock body { overflow: hidden; }
@media (max-width: 720px) { .main-nav.open { box-shadow: 0 24px 50px -20px rgba(13,71,161,.45); } }
@media (min-width: 721px) { .pp-nav-backdrop { display: none; } }

/* ---------- v18: bigger footer headings ---------- */
.site-footer .footer-col h4 { font-size: 19px; font-weight: 700; margin-bottom: 20px; }
@media (max-width: 720px) { .site-footer .footer-col h4 { font-size: 21px; } }

/* ---------- v19: bigger footer logo ---------- */
.footer-brand .logo { font-size: 30px; gap: 10px; }
.footer-brand .logo-mark { width: 50px; height: 36px; }

/* ---------- v20: settlement & payment ---------- */
.pp-s-awaiting_settlement { background: #fff3e0; color: #e65100; }
.pp-chip-ok { background: #e8f5e9; color: #2e7d32; }
.pp-chip-warn { background: #fff3e0; color: #e65100; }
.pp-form-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pp-form-inline select { width: auto; min-width: 190px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.pp-settle-card { border: 1.5px solid #ffe0b2; background: linear-gradient(180deg, #fffaf3, #fff); }
.pp-settle-card.is-settled { border-color: #c8e6c9; background: linear-gradient(180deg, #f5fbf5, #fff); }
.pp-settle-rows { display: grid; gap: 8px; margin-bottom: 14px; }
.pp-settle-rows > div { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
.pp-settle-rows span { color: var(--ink-light); }
.pp-settle-due { border-top: 1px dashed var(--border); padding-top: 10px; }
.pp-settle-due span { color: var(--ink); font-weight: 700; }
.pp-settle-due b { font-size: 20px; color: var(--blue-800); }
.pp-settle-msg { margin: 0 0 12px; font-size: 14px; color: #8a4b00; }
.pp-settle-msg.ok { color: #2e7d32; font-weight: 700; margin: 0; }
.pp-pay-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 28px 24px; }
.pp-pay-badge { display: inline-block; font-size: 12.5px; font-weight: 700; color: #8a4b00; background: #fff3e0; border-radius: 999px; padding: 5px 14px; }
.pp-pay-amount { margin: 22px 0 14px; padding: 18px; border-radius: 16px; background: #EEF5FD; display: flex; flex-direction: column; gap: 6px; }
.pp-pay-amount span { color: var(--ink-light); font-size: 14px; }
.pp-pay-amount b { font-size: 28px; color: var(--blue-800); }
.pp-pay-note { font-size: 13px; line-height: 1.9; }
.pp-pay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.pp-pay-actions .btn { width: 100%; }

/* ---------- v21: vertical order stepper on phones ---------- */
@media (max-width: 600px) {
  .pp-track { flex-direction: column; gap: 0; margin-bottom: 12px; }
  .pp-track li { text-align: right; font-size: 13px; padding: 0 26px 14px 0; min-height: 22px; }
  .pp-track li:last-child { padding-bottom: 0; }
  .pp-track li span { top: 3px; right: 0; transform: none; }
  .pp-track li::before { top: -11px; right: 5px; width: 2px; height: calc(100% - 3px); }
  .pp-track li:first-child::before { display: none; }
}

/* ---------- v22: order page on phones (stepper + items) ---------- */
@media (max-width: 600px) {
  .pp-track li { padding: 0 28px 16px 0; font-size: 14px; color: var(--ink-light); }
  .pp-track li span { top: 4px; right: 0; width: 13px; height: 13px; }
  .pp-track li::before { display: none; }
  .pp-track li::after { content: ''; position: absolute; right: 5.5px; top: 19px; bottom: -3px; width: 2px; border-radius: 2px; background: var(--border); }
  .pp-track li:last-child::after { display: none; }
  .pp-track li.done::after { background: var(--blue-600); }
  .pp-track li.done { color: var(--ink); }
  .pp-track li.now { color: var(--blue-800); font-weight: 800; }

  .pp-order-meta { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
  .pp-order-meta > div { background: var(--bg-soft); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 1.7; }
  .pp-order-meta > div:last-child { grid-column: 1 / -1; }
  .pp-order-meta span { margin-bottom: 2px; }

  .pp-items-table-wrap, .pp-table-wrap:has(.pp-items-table) { overflow: visible; box-shadow: none; background: transparent; }
  .pp-items-table thead { display: none; }
  .pp-items-table, .pp-items-table tbody, .pp-items-table tfoot { display: block; width: 100%; }
  .pp-items-table tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
  .pp-items-table tbody td { display: block; padding: 0; border: 0; text-align: right; font-size: 14px; }
  .pp-items-table td.it-name { grid-column: 1 / -1; font-weight: 800; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .pp-items-table td.it-name .pp-chip { white-space: nowrap; }
  .pp-items-table td.it-name .pp-price-note { flex-basis: 100%; font-weight: 400; }
  .pp-items-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--ink-light); margin-bottom: 2px; }
  .pp-items-table td.it-total { color: var(--blue-800); font-weight: 800; }
  .pp-items-table tfoot { margin-top: 6px; border-radius: 16px; overflow: hidden; background: #fafcfe; border: 1px solid var(--border); }
  .pp-items-table tfoot tr { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; }
  .pp-items-table tfoot tr + tr { border-top: 1px solid var(--border); }
  .pp-items-table tfoot td { display: block; padding: 0; border: 0; background: none; font-size: 14px; }
}

/* ---------- v23: clear label / value contrast in order details ---------- */
.pp-order-meta > div { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.pp-order-meta span { display: block; font-weight: 500; font-size: 12px; color: #7a8899; margin-bottom: 4px; }
.pp-items-table td[data-label] { font-weight: 700; color: var(--ink); }
.pp-items-table td[data-label]::before { font-weight: 500; }
@media (max-width: 600px) {
  .pp-order-meta > div { background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 16px -14px rgba(13,71,161,.5); padding: 10px 12px 12px; }
  .pp-order-meta span { font-size: 12px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px dashed var(--border); }
}

/* ---------- order summary / deposit review ---------- */
.pp-sum-head { margin-bottom: 16px; }
.pp-sum-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 12px; padding: 8px 12px; border-radius: 12px;
  background: #eef5fd; color: var(--blue-800); font-size: 13.5px; font-weight: 800;
  text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.pp-sum-back i { width: 16px; height: 16px; display: grid; place-items: center; }
.pp-sum-back svg { width: 16px; height: 16px; display: block; }
.pp-sum-back:hover { background: #e3eefb; color: var(--blue-800); transform: translateX(2px); }
.pp-sum-back-below {
  display: flex; width: 100%; justify-content: center; margin: 12px 0 0;
  box-sizing: border-box;
}
.pp-sum-card { padding: 16px 16px 14px; }
.pp-sum-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.pp-sum-tile {
  background: #f7fafd; border: 0;
  border-radius: 14px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.pp-sum-tile small {
  font-size: 12px; font-weight: 800; color: var(--blue-700); letter-spacing: -.1px;
}
.pp-sum-tile b {
  font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.55;
  word-break: break-word;
}
.pp-sum-tile-wide { grid-column: 1 / -1; }
.pp-sum-phone {
  display: block; margin-top: 2px; color: var(--ink);
  font-size: 13.5px; font-weight: 400; letter-spacing: .2px;
}
.pp-sum-note {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 12px;
  background: #fafcfe; border: 1px dashed #d5e2ef;
  font-size: 13.5px; line-height: 1.8; color: var(--ink);
}
.pp-sum-lines {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px;
}
.pp-sum-lines li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 14px; background: #f7fafd; border: 0;
}
.pp-sum-line-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pp-sum-line-info b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.pp-sum-line-info em {
  font-style: normal; font-size: 11.5px; font-weight: 700;
  color: var(--blue-700); background: #eaf3fc; border-radius: 999px; padding: 1px 8px;
}
.pp-sum-line-info small { color: #7a8899; font-size: 12.5px; }
.pp-sum-line-note { color: var(--ink-light); font-size: 12px; line-height: 1.6; }
.pp-sum-lines strong {
  flex: none; font-size: 14.5px; font-weight: 800; color: var(--blue-800);
  white-space: nowrap; padding-top: 1px;
}
.pp-sum-totals {
  margin-top: 12px; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid rgba(25,118,210,.10);
}
.pp-sum-totals > div {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 13.5px;
}
.pp-sum-totals > div + div { border-top: 1px solid #eef3f8; }
.pp-sum-totals span { color: #6b7c8f; font-weight: 600; }
.pp-sum-totals b { color: var(--ink); font-weight: 800; }
.pp-sum-totals .pp-sum-disc b { color: #2e7d32; }
.pp-sum-totals .pp-sum-pay {
  background: #f3f8fd;
}
.pp-sum-totals .pp-sum-pay span,
.pp-sum-totals .pp-sum-pay b { color: var(--blue-800); font-size: 14.5px; }
.pp-sum-hint { margin: 10px 0 0; font-size: 12.5px; line-height: 1.8; }
.pp-pay-vpn-warn {
  margin: 14px 0 12px; padding: 11px 14px; border-radius: 12px;
  background: #fff8e8; border: 1px solid #f0dfb0; color: #7a5a10;
  font-size: 13.5px; font-weight: 700; line-height: 1.85; text-align: right;
}

@media (max-width: 600px) { .pp-settle-card form .btn { width: 100%; } }
