/* ساخت پک اختصاصی در یک صفحه با نقشه راه. پک آماده هنوز صفحه ی جدا دارد. */
.pack-flow {
  --g-800: #2f6a24;
  --g-700: #3a7a2c;
  --g-100: #e7f0e1;
  --ink: #1d241c;
  --muted: #7a847a;
  --line: #e8ebe6;
  --bg: #fff;
  background: #fff;
  color: var(--ink);
}
body.pack-flow,
body.pack-flow .miveh-scroll { background: #fff; }
body.pack-flow .miveh-main {
  max-width: 1240px;
  width: 100%;
  margin-inline: auto;
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  background: #fff;
}
.pf-page { margin: 0 auto; padding: 12px 0 24px; }
.pf-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pf-title { flex: 1; text-align: center; }
.pf-title h1 { font-size: 18px; font-weight: 900; margin: 0; }
.pf-title p { margin: 0; color: var(--muted); font-size: 12px; }
.pf-pick-head { margin: 8px 0 14px; }
.pf-pick-head h2 { font-size: 20px; font-weight: 800; margin: 0 0 6px; line-height: 1.35; }
.pf-pick-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; max-width: 36em; }
.pf-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  margin: 0 0 14px;
  padding-block: 6px;
  padding-inline: 8px 10px;
  border: 2px solid #b7d0ae;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(47, 106, 36, .06);
}
.pf-search:focus-within {
  background: #fff;
  border-color: var(--g-700);
  box-shadow: 0 0 0 4px #e7f0e1;
}
.pf-search > i,
.pf-search-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--g-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  pointer-events: none;
}
.pf-search input {
  position: static;
  opacity: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  -webkit-appearance: none;
  appearance: none;
}
.pf-search input::placeholder { color: #4e5d4b; font-weight: 600; }
.pf-search input:focus { outline: 0; background: transparent; }
.pf-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  min-width: 0;
}
.pf-sort-drop { flex: none; }
.pf-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f6faf4;
  border-color: #cfe0c9;
  color: var(--g-800);
}
.pf-sort i { font-size: 16px; }
.pf-sort-drop .dropdown-menu {
  min-width: 168px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(29, 36, 28, .12);
}
.pf-sort-drop .dropdown-item {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}
.pf-empty {
  text-align: center;
  padding: 36px 16px;
  border: 1px dashed #d5ddd0;
  border-radius: 18px;
  background: #fafbf8;
  margin-top: 8px;
}
.pf-empty i { display: block; font-size: 28px; color: var(--g-700); margin-bottom: 8px; }
.pf-empty p { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.pf-empty span { color: var(--muted); font-size: 13px; }
.pf-cat, .pf-opt {
  flex: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
.pf-cat.active, .pf-opt.active, .pf-pick:has(input:checked) { background: var(--g-100); border-color: var(--g-700); color: var(--g-800); }
.pack-flow .pf-plus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pack-flow .pf-plus .mj-plus-card { min-width: 0; height: 100%; }
.pack-flow .sh-fruits { margin: 2px 0 12px; flex-wrap: nowrap; overflow-x: auto; }
.pf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 768px) {
  .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pack-flow .pf-plus { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 992px) { .pack-flow .pf-plus { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; } }
.pf-qty { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pf-qty button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
body.pack-flow .sh-cartbar { display: none; }
body.pack-flow .bottom-nav { display: none; }
.pf-bar {
  position: sticky;
  z-index: 1020;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 10px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .07);
}
.pf-bar .pf-next {
  flex: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  background: var(--g-800, #2f6a24);
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 0 10px;
  font-weight: 800;
  text-decoration: none;
}
.pf-bar .pf-next.disabled { background: #c5c9c3; pointer-events: none; }
.pf-save {
  flex: 1;
  height: 50px;
  border-radius: 14px;
  border: 1px solid #cfd6cb;
  background: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pf-total {
  flex: 1.1;
  min-width: 0;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  text-align: right;
}
.pf-total .t { flex: 1; min-width: 0; line-height: 1.35; }
.pf-total b { display: block; color: var(--g-800, #2f6a24); font-size: 15px; white-space: nowrap; }
.pf-total b small { color: var(--ink); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.pf-total .t > span { display: block; font-size: 10.5px; color: var(--muted); }
.pf-total .chev {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f1f3f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pf-sheet { border: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(29, 36, 28, .16); }
#pfSheet .modal-dialog { max-width: 420px; margin: 1.2rem auto; }
#pfSheet .modal-content { background: #fff; }
#pfSheet .modal-header { padding: 16px 16px 8px; }
#pfSheet .modal-title { font-size: 16px; }
.pf-sheet-sub { color: var(--muted); font-size: 12px; }
#pfSheet .modal-body {
  max-height: 46vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 8px;
}
.pf-sheet-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 8px 20px;
  font-size: 13px;
}
.pf-sheet-empty i { display: block; font-size: 32px; color: var(--g-700); margin-bottom: 8px; }
.pf-ci {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f6faf4;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pf-ci img,
.pf-ci-ph {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
  flex: none;
}
.pf-ci-ph { display: flex; align-items: center; justify-content: center; color: var(--g-700); font-size: 22px; }
.pf-ci .n { flex: 1; min-width: 0; font-weight: 700; font-size: 13px; }
.pf-ci .n small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.pf-ci .p { font-weight: 800; font-size: 13px; color: var(--g-800); white-space: nowrap; }
.pf-sheet-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #f3f7f0;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
}
.pf-sheet-foot span { color: var(--muted); font-size: 13px; }
.pf-sheet-foot b { color: var(--g-800); font-size: 15px; }
.pf-sheet-foot small { font-size: 11px; font-weight: 600; color: var(--ink); }
@media (max-width: 575.98px) {
  .pf-page { padding: 8px 0 20px; }
  .pf-pick-head { margin: 4px 0 12px; }
  .pf-pick-head h2 { font-size: 18px; }
  .pf-pick-head p { font-size: 12.5px; }
  .pf-save span { display: none; }
  .pf-save { flex: 0 0 52px; }
  .pf-bar .pf-next span { font-size: 12.5px; }
  .pf-total { flex: 1.4 1 auto; padding: 0 6px; gap: 4px; }
  .pf-total b { font-size: 13px; }
  .pf-total .chev { width: 22px; height: 22px; }
  .pf-sort { padding: 0 12px; }
  .pf-search { min-height: 50px; }
  .pf-search input { height: 38px; font-size: 14px; }
  .pack-flow .pf-plus { gap: 10px; }
}
.pf-next { flex: 1; background: var(--g-700); color: #fff; border: 0; border-radius: 14px; padding: 12px; font-weight: 800; text-align: center; text-decoration: none; }
.pf-next.disabled { background: #c5c9c3; pointer-events: none; }
.pf-pick { display: flex; flex-direction: column; gap: 4px; min-width: 140px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; cursor: pointer; }
.pf-pick input[type=radio],
.pf-pick input[type=checkbox] { position: absolute; opacity: 0; }
.pf-msg { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 10px; min-height: 90px; }
.pf-sum { background: #fff; border-radius: 18px; padding: 14px; border: 1px solid var(--line); }
.pf-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-stat { background: var(--g-100); border-radius: 14px; padding: 10px; }
.pf-stat small { display: block; color: var(--muted); }
.pf-stat b { font-size: 18px; }
.pf-hero { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 992px) { .pf-hero { flex-direction: row; align-items: flex-start; } .pf-hero > * { flex: 1; } }
.pf-photo { background: #fff; border-radius: 18px; min-height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pf-photo img { width: 100%; height: 220px; object-fit: cover; }

.pkp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pkp-gift { color: var(--g-800); font-size: 18px; display: block; }
.pkp-icon { min-width: 42px; height: 42px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); text-decoration: none; }
.pkp-back { width: 42px; border-radius: 50%; }
.pkp-layout { display: flex; flex-direction: column; gap: 14px; }
.pkp-picks { order: 1; min-width: 0; }
.pkp-stage {
  order: 2;
  position: static;
  background: #f3f8ef;
  border: 1px solid #d5e4cf;
  border-radius: 18px;
  padding: 12px;
}
.pkp-stage-cap {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--g-800);
}
.pkp-intro {
  margin: 0 0 16px;
  color: #4e5d4b;
  font-size: 13.5px;
  line-height: 1.7;
}
.pkp-hint {
  margin: 0 0 12px;
  color: #4e5d4b;
  font-size: 13px;
  line-height: 1.65;
}
.pkp-prev {
  position: relative;
  min-height: 140px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pkp-prev img { width: 100%; height: 140px; object-fit: contain; object-position: center; display: block; }
.pkp-tray {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  min-height: 140px;
}
.pkp-tray i { font-size: 40px; color: var(--g-700); }
.pkp-facts { margin: 12px 0 0; }
.pkp-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.pkp-facts > div:last-child { border-bottom: 0; }
.pkp-facts dt { color: var(--muted); font-weight: 500; margin: 0; }
.pkp-facts dd { margin: 0; font-weight: 800; color: var(--ink); text-align: left; }
.pkp-cost {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pkp-cost small { font-weight: 700; color: var(--muted); }
.pkp-cost .v { font-size: 22px; font-weight: 900; color: var(--g-800); }
.pkp-cost .u { font-size: 12px; font-weight: 700; color: var(--g-800); }
.pkp-sec + .pkp-sec { margin-top: 28px; padding-top: 0; border-top: 0; }
.pkp-extra {
  background: #f7faf5;
  margin: 0;
  padding: 16px 14px 18px;
  border-radius: 16px;
  border: 1px solid #e4eee0;
}
.pkp-sec.pkp-extra + .pkp-extra { margin-top: 16px; padding-top: 16px; border-top: 0; }
.pkp-sec h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pkp-opt {
  font-size: 11px;
  font-weight: 700;
  color: var(--g-800);
  background: var(--g-100);
  border-radius: 999px;
  padding: 2px 8px;
}
.pkp-sub { font-size: 14px; font-weight: 800; margin: 16px 0 4px; }
.pkp-note { color: var(--muted); font-size: 12px; margin: 0 0 8px; }
.pkp-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px 0; }
.pkp-mat, .pkp-sz, .pkp-gc, .pkp-rb { position: relative; cursor: pointer; }
.pkp-mat input, .pkp-sz input, .pkp-gc input, .pkp-rb input { position: absolute; opacity: 0; }
.pkp-mat:focus-within, .pkp-sz:focus-within, .pkp-gc:focus-within, .pkp-rb:focus-within { outline: 2px solid var(--g-700); outline-offset: 2px; }
.pkp-mats { display: flex; flex-direction: column; gap: 8px; }
.pkp-mat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  text-align: start;
  overflow: hidden;
}
.pkp-im {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--g-700);
  background: #f6faf4;
  position: relative;
  overflow: hidden;
}
.pkp-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 6px; }
.pkp-in { display: block; flex: 1; min-width: 0; padding: 2px 4px; }
.pkp-in b { display: block; font-size: 14px; line-height: 1.35; }
.pkp-in small { display: block; color: var(--muted); font-size: 12px; min-height: 0; margin-top: 2px; }
.pkp-price { display: block; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--g-800); }
.pkp-check { display: none; position: absolute; top: 8px; inset-inline-end: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--g-800); color: #fff; align-items: center; justify-content: center; border: 2px solid #fff; z-index: 2; }
.pkp-mat .pkp-check {
  top: 10px;
  inset-inline-start: 10px;
  inset-inline-end: auto;
}
.pkp-mat:has(input:checked), .pkp-sz:has(input:checked), .pkp-gc:has(input:checked) { border-color: var(--g-700); box-shadow: 0 6px 16px rgba(47, 106, 36, .1); }
.pkp-mat:has(input:checked) .pkp-check, .pkp-sz:has(input:checked) .pkp-check, .pkp-gc:has(input:checked) .pkp-check, .pkp-rb:has(input:checked) .pkp-check { display: flex; }
.pkp-sz {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1 1 100%;
  max-width: none;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  padding-inline-start: 40px;
  text-align: start;
  min-height: 52px;
}
.pkp-sz:has(input:checked) { background: #f3f7f0; }
.pkp-sz .pkp-check {
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 10px;
  inset-inline-end: auto;
}
.pkp-sz-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pkp-sz b { display: block; font-size: 14px; }
.pkp-dim { display: block; font-size: 12px; color: var(--muted); direction: ltr; margin: 0; }
.pkp-pr { font-size: 12px; font-weight: 800; color: var(--g-800); white-space: nowrap; }
.pkp-bows, .pkp-cards {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-block: 10px 12px;
  margin-inline: 0;
  padding-inline: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.pkp-bows::-webkit-scrollbar, .pkp-cards::-webkit-scrollbar { display: none; }
.pkp-rb { flex: 0 0 88px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #555; text-align: center; }
.pkp-c { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; }
.pkp-c svg { width: 40px; height: 30px; }
.pkp-rb:has(input:checked) .pkp-c { border-color: var(--g-700); box-shadow: 0 0 0 3px rgba(63, 138, 46, .12); }
.pkp-rb:has(input:checked) { color: var(--g-800); font-weight: 800; }
.pkp-rb .pkp-check { top: 2px; inset-inline-end: 2px; }
.pkp-gc {
  flex: 0 0 116px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #555;
  text-align: center;
}
.pkp-gc:has(input:checked) { color: var(--g-800); font-weight: 800; }
.pkp-th { width: 76px; height: 76px; border-radius: 10px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 28px; overflow: hidden; background: #f6faf4; }
.pkp-th img { width: 100%; height: 100%; object-fit: contain; }
.pkp-none { border: 0; font-size: 28px; color: #8a918a; }
.pkp-gc .pkp-check { top: 4px; inset-inline-end: 4px; }
.pkp-fee { display: block; font-size: 11px; font-weight: 700; color: var(--g-800); }
.pkp-msg { position: relative; margin-top: 16px; padding-top: 4px; }
.pkp-msg textarea { width: 100%; min-height: 104px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px 28px; resize: none; background: #fff; font: inherit; font-size: 15px; }
.pkp-msg textarea:focus { outline: 0; border-color: var(--g-700); box-shadow: 0 0 0 4px #e7f0e1; }
.pkp-msg.is-off textarea { background: #f6f7f5; color: var(--muted); }
.pkp-cnt { position: absolute; bottom: 8px; inset-inline-end: auto; inset-inline-start: 14px; font-size: 11px; color: var(--muted); }
.pkp-go { margin-top: 18px; width: 100%; height: 50px; border: 0; border-radius: 14px; background: var(--g-800); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; }
.pkp-go span { flex: 1; text-align: center; }
@media (max-width: 991.98px) {
  .pkp-intro { display: none; }
  .pkp-hint {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pkp-stage {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas:
      "cap cap"
      "prev facts"
      "cost cost";
    gap: 8px 12px;
    align-items: center;
  }
  .pkp-stage-cap { grid-area: cap; margin: 0; }
  .pkp-prev { grid-area: prev; min-height: 88px; }
  .pkp-prev img, .pkp-tray { height: 88px; min-height: 88px; }
  .pkp-tray { gap: 0; }
  .pkp-tray span { display: none; }
  .pkp-tray i { font-size: 28px; }
  .pkp-facts { grid-area: facts; margin: 0; }
  .pkp-facts > div { padding: 4px 0; font-size: 13px; }
  .pkp-cost { grid-area: cost; margin-top: 0; padding-top: 8px; }
}
@media (min-width: 768px) {
  .pkp-mats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkp-cost .v { font-size: 26px; }
  .pkp-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .pkp-layout { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); align-items: start; gap: 22px; }
  .pkp-stage { order: 0; position: sticky; top: 122px; display: block; }
  .pkp-picks { order: 0; }
  .pkp-stage-cap { display: none; }
  .pkp-prev, .pkp-tray { min-height: 200px; }
  .pkp-prev img { height: 200px; }
  .pkp-im { width: 84px; height: 84px; }
  .pkp-go { max-width: 420px; margin-inline: auto; }
  .pkp-extra { margin-inline: 0; }
}

.pks-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pks-icon { width: 42px; height: 42px; border-radius: 13px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; font-size: 18px; }
.pks-leaf { width: 26px; height: 20px; color: var(--g-800); display: block; margin: 0 auto 2px; }
.pks-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-top: 14px; direction: ltr; align-items: stretch; }
.pks-hero .pks-card { direction: rtl; }
.pks-photo { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.3; background: linear-gradient(135deg, #d9d6d0, #bdb8ae); display: flex; align-items: center; justify-content: center; }
.pks-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pks-em { font-size: 64px; line-height: 1.15; text-align: center; }
.pks-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.pks-card h2, .pks-final h2 { font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.pks-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pks-stats > div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; }
.pks-stats i { display: block; font-size: 22px; color: var(--g-700); margin-bottom: 4px; }
.pks-stats small { display: block; color: var(--muted); font-size: 10.5px; }
.pks-stats b { font-size: 18px; }
.pks-stats em { font-style: normal; font-size: 13px; }
.pks-cats { margin-top: 18px; min-width: 0; }
.pks-slider { width: 100%; min-width: 0; }
.pks-track { display: flex; gap: 12px; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; padding-bottom: 4px; direction: rtl; }
.pks-track::-webkit-scrollbar { display: none; }
.pks-track article { flex: 0 0 188px; scroll-snap-align: start; background: transparent; border: 0; padding: 0 4px 8px; text-align: center; direction: rtl; }
.pks-track .img { width: 168px; height: 168px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: #f4f6f1; border: 2px solid #e7eee4; }
.pks-track img { width: 100%; height: 100%; object-fit: cover; }
.pks-track h3 { font-size: 14px; font-weight: 800; margin: 8px 0 4px; }
.pks-track p { font-size: 11px; color: var(--muted); margin: 0 0 8px; }
.pks-edit { display: block; border: 1px solid var(--line); border-radius: 10px; height: 36px; line-height: 36px; color: inherit; text-decoration: none; }
.pks-final { margin-top: 18px; }
.pks-final-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; text-align: center; }
.pks-final-grid small { display: block; color: var(--muted); font-size: 10.5px; margin-bottom: 6px; }
.pks-final-grid b { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--g-800); font-size: 16px; }
.pks-final-grid i { color: var(--g-700); font-size: 20px; }
.pks-price { grid-column: 1 / -1; border-bottom: 1px dashed var(--line); padding-bottom: 10px; order: -1; }
.pks-note { margin: 12px 0 0; color: var(--muted); }
.pks-two { display: grid; gap: 12px; margin-top: 18px; }
.pks-sub { color: var(--muted); font-size: 11px; margin: -4px 0 12px; }
.pks-share { display: flex; justify-content: space-around; }
.pks-share button, .pks-share a { background: none; border: 0; color: #444; font-size: 11px; text-align: center; text-decoration: none; }
.pks-share span { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 6px; }
.pks-share .tg { background: #2aa3e0; border-color: #2aa3e0; color: #fff; }
.pks-share .wa { background: #25d366; border-color: #25d366; color: #fff; }
.pks-save { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; }
.pks-save input { flex: 1; border: 0; min-width: 0; text-align: center; background: transparent; font-weight: 700; }
.pks-save button { background: var(--g-800); color: #fff; border: 0; border-radius: 10px; font-weight: 700; padding: 8px 16px; }
.pks-bar { position: fixed; z-index: 1020; left: 8px; right: 8px; bottom: 8px; max-width: 1140px; margin: 0 auto; display: flex; gap: 8px; direction: ltr; }
.pks-fav, .pks-buy { flex: 1; height: 50px; border-radius: 14px; font-weight: 800; }
.pks-fav { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pks-fav.is-on { color: #c2255c; border-color: #c2255c; }
.pks-buy { border: 0; background: var(--g-800); color: #fff; }
.pks-buy:disabled { background: #e9ecef; color: #98a2b3; }
@media (min-width: 768px) {
  .pks-track .img { width: 196px; height: 196px; }
  .pks-track article { flex-basis: 220px; }
  .pks-two { grid-template-columns: 1fr 1fr; }
  .pks-price { grid-column: auto; order: 0; border-bottom: 0; }
  .pks-final-grid { grid-template-columns: repeat(6, 1fr); align-items: end; }
}
@media (min-width: 992px) {
  .pks-hero { grid-template-columns: 1fr 1fr; gap: 22px; }
  .pks-photo { aspect-ratio: auto; min-height: 420px; }
}

.pf-road {
  background: #f6faf4;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 8px 12px;
  margin: 0 0 16px;
}
.pf-road-list {
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.pf-road-list::before,
.pf-road-list::after {
  content: "";
  position: absolute;
  top: 20px;
  height: 3px;
  border-radius: 99px;
  z-index: 0;
}
.pf-road-list::before {
  left: 16.67%;
  right: 16.67%;
  background: #e2e8de;
}
.pf-road-list::after {
  right: 16.67%;
  width: 0;
  background: var(--g-700);
  transition: width .25s ease;
}
#pfWiz[data-step="2"] .pf-road-list::after { width: 33.33%; }
#pfWiz[data-step="3"] .pf-road-list::after { width: 66.66%; }
.pf-road-list li {
  flex: 1;
  position: relative;
  text-align: center;
  z-index: 1;
}
.pf-road-list button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  min-height: 44px;
}
.pf-road-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d7ddd4;
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 0 6px #f6faf4;
}
.pf-road-ok { display: none; }
.pf-road-list li.is-on button,
.pf-road-list li.is-done button { color: var(--g-800); }
.pf-road-list li.is-on .pf-road-lbl { font-weight: 800; }
.pf-road-list li.is-on .pf-road-num {
  background: var(--g-800);
  border-color: var(--g-800);
  color: #fff;
  box-shadow: 0 0 0 6px #f6faf4, 0 6px 14px rgba(47, 106, 36, .22);
}
.pf-road-list li.is-done .pf-road-num {
  background: var(--g-100);
  border-color: var(--g-700);
  color: var(--g-800);
}
.pf-road-list li.is-done .pf-road-ico { display: none; }
.pf-road-list li.is-done .pf-road-ok { display: inline-flex; }
.pf-road-list button:disabled { opacity: .45; }
.pf-road-list button:focus-visible {
  outline: 2px solid var(--g-700);
  outline-offset: 3px;
}
.pf-kinds {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 2px 0;
  min-width: 0;
  flex: 1 1 auto;
}
.pf-kinds::-webkit-scrollbar { display: none; }
.pf-kind {
  flex: none;
  min-height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}
.pf-kind:focus-visible,
.pf-sort:focus-visible {
  outline: 2px solid var(--g-700);
  outline-offset: 2px;
}
.pf-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 8px;
}
.pf-more .spinner-border {
  width: 2rem;
  height: 2rem;
  border-width: 0.22em;
}
.pf-kind.is-on {
  background: var(--g-800);
  border-color: var(--g-800);
  color: #fff;
}
.pf-need {
  flex: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 50px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  color: #8a5a12;
  background: #fff6e5;
  border-radius: 14px;
  padding: 8px 10px;
}
#pfWiz[data-count="0"] #pfToPack { display: none; }
#pfWiz:not([data-count="0"]) #pfNeed { display: none !important; }
.pf-back {
  flex: 0 0 auto;
  min-width: 88px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}
.pf-buy { flex: 1.6; margin: 0; }
.pf-buy .pks-buy { width: 100%; }
.pf-review { display: grid; gap: 14px; }
.pf-review-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.pf-review-board { display: grid; gap: 12px; }
.pf-review-main, .pf-review-side { display: grid; gap: 12px; min-width: 0; }
.pf-review-block h2 { font-size: 15px; font-weight: 800; margin: 0; }
.pf-review-edit {
  border: 0;
  background: transparent;
  color: var(--g-800);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 0;
}
.pf-review-lead, .pf-review-sub, .pf-review-points { color: var(--muted); font-size: 13px; margin: 0; }
.pf-review-sub { margin: 0 0 12px; }
.pf-review-head .pf-review-price { display: none; }
.pf-review-price { text-align: left; }
.pf-review-price small { display: block; color: var(--muted); font-size: 12px; }
.pf-review-price b { font-size: 22px; color: var(--g-800); }
.pf-review-price span { font-size: 12px; font-weight: 700; }
.pf-review-price em { display: block; font-style: normal; color: var(--g-700); font-size: 12px; font-weight: 700; margin-top: 4px; }
.pf-review-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.pf-review-save { background: #f6faf4; border-color: #d5e4cf; }
.pf-review-bill {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  background: #f6faf4;
  border: 1px solid #d5e4cf;
  border-radius: 18px;
}
.pf-review-bill li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
}
.pf-review-bill b { color: var(--ink); font-weight: 800; }
.pf-review-bill .is-sum {
  color: var(--ink);
  font-weight: 800;
  border-top: 1px dashed #d5e4cf;
  margin-top: 4px;
  padding-top: 12px;
}
.pf-review-bill .is-sum b { color: var(--g-800); font-size: 18px; }
.pf-review-lines, .pf-review-pack { list-style: none; margin: 0; padding: 0; }
.pf-review-lines li,
.pf-review-pack li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.pf-review-lines li:last-child,
.pf-review-pack li:last-child { border-bottom: 0; padding-bottom: 2px; }
.pf-review-fold { display: grid; grid-template-rows: 1fr; }
.pf-review-fold-in { min-height: 0; overflow: hidden; }
.pf-review-lines .n { min-width: 0; flex: 1; }
.pf-review-lines .n b { display: block; font-size: 14px; font-weight: 800; }
.pf-review-lines .n small {
  display: inline-block;
  margin-top: 4px;
  color: var(--g-800);
  background: var(--g-100);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
}
.pf-review-lines .p { font-weight: 800; font-size: 14px; color: var(--g-800); white-space: nowrap; }
.pf-review-more { display: none !important; }
.pf-review-pack span { color: var(--muted); font-size: 13px; }
.pf-review-pack b { font-size: 14px; font-weight: 800; text-align: left; }
.pf-review-note {
  margin: 8px 0 0;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.7;
}
.pf-review-name { display: grid; gap: 8px; }
.pf-review-name input {
  width: 100%;
  height: 48px;
  border: 1.5px solid #cfe0c9;
  border-radius: 14px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: start;
}
.pf-review-name input::placeholder { color: #8a9488; font-weight: 500; }
.pf-review-name input:focus {
  outline: 0;
  border-color: var(--g-700);
  box-shadow: 0 0 0 4px #e7f0e1;
}
.pf-review-name button,
.pf-login {
  height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: var(--g-800);
  color: #fff;
  font: inherit;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
body.pack-flow:has(#pfWiz[data-step="1"]) #pfBar [data-bar]:not([data-bar="1"]),
body.pack-flow:has(#pfWiz[data-step="2"]) #pfBar [data-bar]:not([data-bar="2"]),
body.pack-flow:has(#pfWiz[data-step="3"]) #pfBar [data-bar]:not([data-bar="3"]) { display: none; }
@media (max-width: 575.98px) {
  .pf-bar { flex-wrap: nowrap; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .pf-bar .pf-next, .pf-buy { flex: 1 1 auto; min-width: 0; }
  .pf-back { flex: 0 0 auto; }
  .pf-road-lbl { font-size: 11px; }
  .pf-review-head { flex-direction: column; align-items: stretch; }
  .pf-review-price { text-align: right; }
}
@media (max-width: 767.98px) {
  .pf-review-fold {
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s ease;
  }
  .pf-review-fold.is-open { grid-template-rows: 1fr; }
  .pf-review-lines.has-more > li:last-child { border-bottom: 0; padding-bottom: 2px; }
  @media (prefers-reduced-motion: reduce) {
    .pf-review-fold { transition: none; }
  }
  .pf-review-more:not(.d-none) {
    display: block !important;
    width: 100%;
    margin-top: 0;
    border: 0;
    background: transparent;
    color: var(--g-800);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 0 2px;
  }
}
@media (min-width: 768px) {
  #pfReviewLines.has-more > li:last-child {
    border-bottom: 1px dashed var(--line);
    padding-bottom: 12px;
  }
}
@media (min-width: 992px) {
  .pf-review-board {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 360px);
    align-items: start;
    gap: 18px;
  }
  .pf-review-side { position: sticky; top: 122px; }
  .pf-review-name {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
  }
  .pf-review-name input { flex: 1; min-width: 0; }
  .pf-review-name button,
  .pf-review-name .pf-login { flex: none; }
}
.pf-edit {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #d7e4d2;
  border-radius: 16px;
  background: #f4f8f1;
}
.pf-edit-kicker {
  color: var(--g-800);
  font-size: 12px;
  font-weight: 700;
}
.pf-edit h1 { font-weight: 800; }
.pf-picked { margin: 0 0 16px; }
.pf-picked-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
}
.pf-chip {
  flex: 0 0 220px;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-width: 0;
}
.pf-chip img,
.pf-chip-ph {
  grid-row: 1 / span 2;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: #f7f4ef;
}
.pf-chip-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.pf-chip-copy {
  min-width: 0;
  text-align: right;
}
.pf-chip-copy b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-chip-copy small { color: var(--muted); font-size: 11px; }
.pf-chip-step {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}
.pf-chip-step button {
  width: 28px;
  height: 28px;
  border: 1px solid #d7e4d2;
  border-radius: 8px;
  background: #fff;
  color: var(--g-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.pf-chip-step strong { min-width: 1.5em; text-align: center; font-size: 13px; }
