/* Pesan Layanan v2 (2026-11-26): kategori -> subkategori -> keranjang -> checkout */
.od .wz-body { padding: 28px 0 60px; }
.od-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.od-main { min-width: 0; }
.od-view { animation: odIn .25s ease; }
@keyframes odIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* langkah (desktop) */
.od-steps { display: flex; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.od-steps li { flex: 1; }
.od-steps button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--muted); cursor: pointer; font: inherit; font-weight: 700; }
.od-steps i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--sub); font-style: normal; font-size: 14px; }
.od-steps .cur button { border-color: var(--blue); color: var(--navy); }
.od-steps .cur i { background: var(--grad); color: #fff; }
.od-steps .done i { background: var(--ok); color: #fff; }

/* sapaan + cari */
.od-hello h1 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.od-hello p { color: var(--sub); margin-top: 4px; }
.od-search { position: relative; display: flex; align-items: center; margin: 16px 0 18px; }
.od-search > .ico { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.od-search input { width: 100%; min-height: 52px; padding: 0 46px 0 48px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-size: 16px; color: var(--navy); }
.od-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 159, 232, .15); }
.od-search button { position: absolute; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--bg); color: var(--sub); display: grid; place-items: center; cursor: pointer; }

/* kartu kategori: gambar besar penuh, teks di bawah dalam kartu */
.od-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.od-cat { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--navy); box-shadow: var(--sh-sm); transition: transform .18s, box-shadow .18s; }
.od-cat:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.od-cat:active { transform: scale(.98); }
.od-cat-img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--blue-50); overflow: hidden; }
.od-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-badge { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--ok); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .4); }
.od-cat-txt { display: block; padding: 12px 14px 14px; }
.od-cat-txt b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.25; }
.od-cat-txt small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 700; color: var(--blue-700); }

/* kategori aktif */
.od-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: none; }
.od-chips::-webkit-scrollbar { display: none; }
.od-chips button { flex-shrink: 0; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer; }
.od-chips button.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.od-hero { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 21 / 8; background: var(--navy); }
.od-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-hero > div { position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px; background: linear-gradient(to top, rgba(6, 26, 46, .88), rgba(6, 26, 46, 0)); color: #fff; }
.od-hero h2 { font-size: 26px; font-weight: 800; color: #fff; }
.od-hero p { font-size: 14.5px; opacity: .9; margin-top: 2px; }
.od-hint { margin: 14px 2px 10px; color: var(--sub); font-size: 14.5px; font-weight: 600; }

/* subkategori */
.od-groups { display: grid; gap: 10px; }
.od-group { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; transition: border-color .15s, background .15s; }
.od-group.is-in { border-color: var(--blue); background: #F3FAFF; }
.od-group-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: var(--navy); cursor: pointer; }
.od-group-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: var(--blue-50); }
.od-group-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-group-txt { min-width: 0; display: block; line-height: 1.3; }
.od-group-txt small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
.od-group-txt b { display: block; font-size: 16px; font-weight: 800; }
.od-group-txt em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.od-price { display: block; margin-top: 4px; font-weight: 800; color: var(--blue-700); font-size: 14.5px; }
.od-price.tbd, .od-line-p.tbd { color: var(--warn); font-weight: 700; font-size: 13px; }
.od-add { flex-shrink: 0; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--grad); color: #fff; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: 0 8px 16px -10px rgba(0, 110, 190, .9); }
.od-add > span { display: inline-flex; align-items: center; gap: 4px; }
.od-add .ico { width: 18px; height: 18px; }
.od-group.is-in .od-add { background: var(--ok); box-shadow: none; }
.od-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 14px; min-height: 48px; border-radius: 14px; border: 1.5px dashed var(--line-2); background: transparent; color: var(--blue-700); font: inherit; font-weight: 800; cursor: pointer; }

/* kartu umum checkout/aside */
.od-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--sh-sm); }
.od-card + .od-card { margin-top: 14px; }
.od-card .field { margin-top: 12px; }
.od-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.od-card-h h3 { font-size: 17px; font-weight: 800; flex: 1; }
.od-card-h small { color: var(--muted); font-weight: 700; font-size: 13px; }
.od-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); flex-shrink: 0; }
.od-ic .ico { width: 19px; height: 19px; }
.od-link { border: 0; background: none; padding: 4px 0; color: var(--blue-700); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.od-link--sm { font-size: 13px; padding: 2px 0; }
.od-link .ico { width: 14px; height: 14px; }
.od-co-title { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.od-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.od-2 .field { margin-top: 0; }
.od-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.od-pills button { min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--navy); cursor: pointer; }
.od-pills button.is-on { border-color: var(--blue); background: #EAF7FF; color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
.od-pills--sm button { min-height: 38px; padding: 0 13px; font-size: 14px; }
.od-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.od-slots button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--navy); cursor: pointer; white-space: nowrap; }
.od-slots button .ico { width: 17px; height: 17px; color: var(--muted); }
.od-slots button.is-on { border-color: var(--blue); background: #EAF7FF; color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
.od-slots button[disabled] { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.od-co .day-strip { margin: 0 -2px; }
.od-co .btn-locate { min-height: 58px; }
.od-extra summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.od-extra summary::-webkit-details-marker { display: none; }
.od-extra summary > span:nth-child(2) { flex: 1; line-height: 1.25; }
.od-extra summary b { display: block; font-size: 16px; }
.od-extra summary small { display: block; font-size: 12.5px; color: var(--muted); }
.od-chev { transition: transform .2s; color: var(--muted); }
.od-extra[open] .od-chev { transform: rotate(180deg); }
.od-extra .photo-grid { margin-top: 12px; }
.od-bill .sum-line { font-size: 14.5px; }
.od-bill .agree { margin-top: 14px; }
.od-bill .alert { margin-top: 12px; }
.od-submit-d { margin-top: 14px; }

/* baris keranjang */
.od-lines { display: grid; gap: 10px; }
.od-line { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 14px; background: var(--bg); }
.od-line-img { width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--blue-50); cursor: pointer; }
.od-line-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-line-txt { flex: 1; min-width: 0; line-height: 1.3; }
.od-line-txt b { display: block; font-size: 14.5px; font-weight: 800; }
.od-spec { display: block; font-size: 12.5px; color: var(--sub); margin-top: 2px; }
.od-line-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.od-line-p { font-weight: 800; font-size: 14px; white-space: nowrap; }
.stepper-sm button { width: 34px; height: 34px; }
.stepper-sm button .ico, .stepper-sm button span .ico { width: 16px; height: 16px; }
.stepper-sm button span { display: grid; place-items: center; }
.stepper-sm output { min-width: 24px; font-size: 15px; }
.od-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 10px; text-align: center; color: var(--muted); font-size: 14px; }
.od-empty .ico { width: 34px; height: 34px; color: var(--line-2); }

/* aside desktop */
.od-aside { position: sticky; top: 96px; }
.od-aside .od-lines { max-height: 46vh; overflow-y: auto; }
.od-aside .sum-total { margin-bottom: 14px; }
.od-trust { display: grid; gap: 8px; margin-top: 14px; padding: 0 6px; font-size: 13.5px; color: var(--sub); font-weight: 600; }
.od-trust span, .od-trust a { display: flex; align-items: center; gap: 8px; }
.od-trust .ico { width: 17px; height: 17px; color: var(--ok); flex-shrink: 0; }
.od-trust a { color: var(--blue-700); font-weight: 800; }
.od-trust a .ico { color: var(--wa); }

/* sheet spesifikasi & keranjang */
.od-sheet .sheet-panel { padding: 0; display: flex; flex-direction: column; overflow: hidden; max-height: 90dvh; }
.od-spec-in { display: flex; flex-direction: column; min-height: 0; max-height: 90dvh; }
.od-spec-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 18px 6px; overscroll-behavior: contain; }
.od-spec-head { display: flex; gap: 14px; align-items: center; }
.od-spec-head img { width: 84px; height: 84px; border-radius: 16px; object-fit: cover; background: var(--blue-50); flex-shrink: 0; }
.od-spec-head > div { flex: 1; min-width: 0; line-height: 1.3; }
.od-spec-head small { color: var(--muted); font-weight: 700; font-size: 12.5px; }
.od-spec-head h3 { font-size: 19px; font-weight: 800; margin: 2px 0 4px; }
.od-spec-head .price { color: var(--blue-700); font-size: 15px; }
.od-spec-head .price.tbd { color: var(--warn); font-size: 13.5px; }
.od-x { width: 38px; height: 38px; border-radius: 12px; border: 0; background: var(--bg); color: var(--sub); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; align-self: flex-start; }
.od-spec-desc { margin-top: 12px; color: var(--sub); font-size: 14.5px; }
.od-sec { margin-top: 18px; }
.od-sec .label { display: block; font-weight: 800; font-size: 14.5px; margin-bottom: 8px; color: var(--navy); }
.od-sec .label em { font-style: normal; font-weight: 600; color: var(--muted); }
.od-sec .hint { margin-top: 8px; display: block; }
.od-vars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.od-vars button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: #fff; font: inherit; color: var(--navy); cursor: pointer; text-align: left; }
.od-vars button b { font-size: 15px; font-weight: 800; }
.od-vars button small { font-size: 13.5px; font-weight: 700; color: var(--blue-700); }
.od-vars button.is-on { border-color: var(--blue); background: #EAF7FF; box-shadow: inset 0 0 0 1px var(--blue); }
.od-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.od-qty .label { margin: 0; }
.od-spec-foot { display: flex; align-items: center; gap: 12px; padding: 12px 18px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); background: #fff; flex-shrink: 0; }
.od-spec-foot .btn { flex: 1; min-height: 52px; }
.od-bar-tot { display: block; line-height: 1.2; min-width: 0; }
.od-bar-tot small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.od-bar-tot b { display: block; font-size: 18px; font-weight: 800; white-space: nowrap; }
.od-cart-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.od-cart-h h3 { flex: 1; font-size: 19px; font-weight: 800; }

/* bilah bawah: hanya HP */
.od-bar { display: none; }
.od-cartbtn { position: relative; }
.od-cartbtn i { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #E0352B; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.od-done { max-width: 640px; margin: 0 auto; }
.od-done .success h2 { margin-top: 16px; font-size: 24px; }

@media (min-width: 1200px) { .od-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .od-shell { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .od-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .od-sheet .sheet-panel { max-width: 560px; border-radius: 22px; }
  .od-spec-foot { padding-bottom: 14px; }
}

/* ---------- HP: mode aplikasi ---------- */
@media (max-width: 767.98px) {
  .od .wz-body { padding: 0; }
  .od-shell { grid-template-columns: minmax(0, 1fr); padding: 14px 0 18px; }
  .od-aside, .od-steps, .od-submit-d { display: none !important; }
  .od-hello h1 { font-size: 22px; }
  .od-hello p { font-size: 14px; }
  .od-search { margin: 12px 0 14px; }
  .od-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .od-cat { border-radius: 18px; }
  .od-cat-txt { padding: 10px 12px 12px; }
  .od-cat-txt b { font-size: 15px; }
  .od-cat-txt small { font-size: 12.5px; }
  .od-chips { margin: 0 -16px; padding: 0 16px 12px; }
  .od-hero { aspect-ratio: 16 / 8; border-radius: 18px; }
  .od-hero h2 { font-size: 21px; }
  .od-hero p { font-size: 13px; }
  .od-group-img { width: 72px; height: 72px; }
  .od-group-txt b { font-size: 15px; }
  .od-add > span > span { display: none; }
  .od-add { width: 46px; padding: 0; }
  .od-add .od-add-in > span { display: inline; font-size: 12px; }
  .od-group.is-in .od-add { width: auto; padding: 0 10px; }
  .od-co-title { display: none; }
  .od-card { padding: 14px; border-radius: 18px; }
  .od-card + .od-card { margin-top: 12px; }
  .od-2 { grid-template-columns: 1fr; }
  .od-card .input, .od-card .textarea { font-size: 16px; }

  .od-bar { display: block; flex-shrink: 0; position: relative; z-index: 6; }
  .od-bar-in { display: flex; align-items: center; gap: 10px; }
  .od-bar.is-co { background: #fff; padding: 10px 16px calc(10px + var(--safe-b)); box-shadow: 0 -8px 20px -14px rgba(11, 39, 66, .35); }
  .od-bar.is-co .od-bar-tot { flex: 1; }
  .od-bar.is-co .od-bar-go { min-height: 52px; min-width: 170px; border-radius: 14px; }
  .od-bar.is-cart { padding: 4px 12px calc(8px + var(--safe-b)); }
  .od-bar.is-cart .od-bar-in { padding: 8px 8px 8px 10px; border-radius: 20px; background: var(--navy); box-shadow: 0 14px 30px -12px rgba(11, 39, 66, .6); }
  .od-bar-cart { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; text-align: left; font: inherit; cursor: pointer; }
  .od-bar-cart.bump { animation: odBump .45s ease; }
  @keyframes odBump { 30% { transform: scale(1.06); } 60% { transform: scale(.97); } }
  .od-bar-ic { position: relative; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; flex-shrink: 0; }
  .od-bar-ic i { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #E0352B; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
  .od-bar.is-cart .od-bar-tot small { color: rgba(255, 255, 255, .72); }
  .od-bar.is-cart .od-bar-tot b { color: #fff; font-size: 17px; overflow: hidden; text-overflow: ellipsis; }
  .od-bar.is-cart .od-bar-go { min-height: 46px; padding: 0 16px; border-radius: 14px; background: #fff; color: var(--navy); font-weight: 800; }
  .od-sheet .sheet-panel { max-width: none; }
  .od-done { padding: 18px 0 calc(var(--tab-total) + 20px); }
}
@media (max-width: 360px) {
  .od-cats { gap: 10px; }
  .od-bar.is-co .od-bar-go { min-width: 0; }
}
