/* =====================================================================
   PTEKNO UI v3 - header, bilah info, beranda, footer, navigasi mobile.
   Dimuat SETELAH ptekno-ui.css (layouts/main.php). Halaman lain yang
   masih memakai kelas pk-* (katalog, PDP, checkout) tidak terpengaruh.

   Token: navy #0B2E4F, navy gelap #072039, oranye #F5A623 (aksi belanja,
   navigasi aktif), oranye teks #B05A00 (persen diskon), krem #FDF1DC
   (khusus flash sale), netral #F4F6F8, garis #DCE2E8.
   Oranye bertingkat: CTA hero > tombol keranjang > teks diskon > kuota.
   ===================================================================== */

:root {
  --v3-navy: #0B2E4F;
  --v3-navy-d: #072039;
  --v3-navy-h: #12406B;
  --v3-orange: #F5A623;
  --v3-orange-t: #B05A00;
  --v3-orange-q: #E08E0B;
  --v3-cream: #FDF1DC;
  --v3-cream-q: #F1E3C8;
  --v3-neutral: #F4F6F8;
  --v3-rule: #DCE2E8;
  --v3-rule-2: #EDF0F3;
  --v3-t2: #3E5269;
  --v3-t3: #5E6E80;
  --v3-t4: #8D9BAA;
  --v3-link: #1667C5;
  --v3-font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.v3-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; box-sizing: border-box; }
@media (min-width: 1024px) { .v3-wrap { padding-inline: 24px; } }

.v3-more { font-size: 14px; font-weight: 600; color: var(--v3-link); text-decoration: none; white-space: nowrap; }
.v3-more:hover { text-decoration: underline; text-underline-offset: 3px; }

.v3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: 4px;
  font: 700 15px/1 var(--v3-font); text-decoration: none; white-space: nowrap;
}
.v3-btn--orange { background: var(--v3-orange); color: var(--v3-navy); }
.v3-btn--orange:hover { background: #FFB53D; color: var(--v3-navy); }
.v3-btn--navy { background: var(--v3-navy); color: #fff; }
.v3-btn--navy:hover { background: var(--v3-navy-h); color: #fff; }
.v3-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- bilah info ---------- */
.v3-topbar { background: var(--v3-navy-d); color: #C9D5E2; font-size: 13px; }
.v3-topbar__in { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.v3-topbar p { margin: 0; }
.v3-topbar nav { display: flex; gap: 20px; }
.v3-topbar a { color: #C9D5E2; text-decoration: none; }
.v3-topbar a:hover { color: #fff; }
@media (max-width: 639.98px) {
  .v3-topbar__in { justify-content: center; min-height: 30px; }
  .v3-topbar nav { display: none; }
}

/* ---------- header ---------- */
.v3-hdr { background: #fff; border-bottom: 1px solid var(--v3-rule); font-family: var(--v3-font); }
@media (min-width: 1024px) { .v3-hdr { position: sticky; top: 0; z-index: 40; } }
.v3-hdr__top { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.v3-hdr__menu {
  display: none; width: 44px; height: 44px; margin-left: -10px; place-items: center;
  border: 0; background: none; color: var(--v3-navy); cursor: pointer;
}
.v3-logo {
  display: inline-flex; align-items: baseline;
  font-size: 28px; font-weight: 800; font-stretch: 88%; letter-spacing: -.5px; line-height: 1;
  color: var(--v3-navy); text-decoration: none; white-space: nowrap;
}
.v3-logo:hover { color: var(--v3-navy); }
.v3-logo__dot { color: var(--v3-orange); }
.v3-logo--inv, .v3-logo--inv:hover { color: #fff; }

.v3-search {
  flex: 1; max-width: 720px; display: flex; height: 44px;
  border: 2px solid var(--v3-navy); border-radius: 4px; overflow: hidden; background: #fff;
}
.v3-search input {
  flex: 1; min-width: 0; border: 0; padding: 0 14px; background: none;
  font: 400 15px var(--v3-font); color: var(--v3-navy); outline: none;
}
.v3-search input::placeholder { color: var(--v3-t4); }
.v3-search button {
  display: flex; align-items: center; gap: 8px; padding: 0 20px; border: 0;
  background: var(--v3-navy); color: #fff; font: 700 14px var(--v3-font); cursor: pointer;
}
.v3-search button:hover { background: var(--v3-navy-h); }
.v3-search:focus-within { box-shadow: 0 0 0 3px rgba(22, 103, 197, .25); }

.v3-hdr__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.v3-hdr__auth { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.v3-hdr__auth a { color: var(--v3-navy); text-decoration: none; }
.v3-hdr__auth a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v3-hdr__auth span { color: var(--v3-t4); }
.v3-hdr__icon {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--v3-navy); border-radius: 6px;
}
.v3-hdr__icon:hover { background: var(--v3-neutral); color: var(--v3-navy); }
.v3-hdr__login-sm { display: none; }
.v3-badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  border-radius: 9px; background: var(--v3-navy); color: #fff;
  font: 800 11px/18px var(--v3-font); text-align: center;
}
.v3-badge--cart { background: var(--v3-orange); color: var(--v3-navy); }
.v3-badge[data-empty] { display: none; }
.v3-acct .pk-acct__btn { border-radius: 999px; }
.v3-acct__name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.v3-catnav { border-top: 1px solid var(--v3-rule-2); }
.v3-catnav__in { display: flex; align-items: stretch; gap: 26px; min-height: 44px; white-space: nowrap; }
.v3-catnav__link {
  display: flex; align-items: center; font-size: 14px; color: var(--v3-t2); text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.v3-catnav__link:hover { color: var(--v3-navy); }
.v3-catnav__link.is-active { color: var(--v3-navy); font-weight: 700; border-bottom-color: var(--v3-orange); }
.v3-catnav__end { margin-left: auto; display: flex; gap: 26px; }
.v3-catnav__mega { display: flex; align-items: center; }
.v3-catnav__mega [data-mega-btn] {
  height: 44px !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important;
  background: none !important; color: var(--v3-navy) !important; font-weight: 700; font-size: 14px;
}

@media (max-width: 1023.98px) {
  .v3-hdr__top { flex-wrap: wrap; gap: 4px 8px; min-height: 0; padding-top: 4px; padding-bottom: 10px; }
  .v3-hdr__menu { display: grid; }
  .v3-logo { font-size: 24px; }
  .v3-search { order: 3; flex: 1 1 100%; max-width: none; }
  .v3-search button span { display: none; }
  .v3-search button { padding: 0 16px; }
  .v3-hdr__right { gap: 2px; margin-right: -6px; }
  .v3-hdr__auth, .v3-acct { display: none !important; }
  .v3-hdr__login-sm { display: grid; }
  .v3-hdr__icon--wish { display: none; }
  .v3-catnav__in { overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .v3-catnav__in::-webkit-scrollbar { display: none; }
  .v3-catnav__mega, .v3-catnav__end { display: none; }
}

/* ---------- beranda: dasar ---------- */
.v3-home { background: #fff; color: var(--v3-navy); font-family: var(--v3-font); padding-bottom: 40px; }
.v3-sec { padding-top: 44px; }
.v3-sechead { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.v3-sechead h2 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; font-stretch: 88%; }
.v3-sechead p { margin: 0; font-size: 14px; color: var(--v3-t3); }
.v3-sechead .v3-more { margin-left: auto; }
@media (max-width: 639.98px) {
  .v3-sec { padding-top: 28px; }
  .v3-sechead { flex-wrap: wrap; gap: 2px 10px; margin-bottom: 10px; }
  .v3-sechead h2 { font-size: 20px; }
  .v3-sechead p { order: 3; flex-basis: 100%; font-size: 13px; }
}

/* ---------- hero ---------- */
.v3-hero { background: linear-gradient(90deg, var(--v3-navy) 50%, #fff 50%); }
.v3-hero__in { display: flex; min-height: 460px; padding-inline: 0; }
.v3-hero__text {
  flex: 0 0 500px; box-sizing: border-box; padding: 44px 48px 44px 24px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--v3-navy); color: #fff;
}
.v3-hero__kicker { margin: 0; font-size: 14px; font-weight: 700; color: var(--v3-orange); }
.v3-hero__title { margin: 10px 0 0; font-size: 48px; line-height: 1; font-weight: 800; font-stretch: 82%; letter-spacing: -.5px; color: #fff; text-wrap: balance; }
.v3-hero__title--long { font-size: 38px; line-height: 1.05; }
.v3-hero__desc { margin: 14px 0 0; max-width: 380px; font-size: 16px; color: #C9D5E2; }
.v3-hero__specs { display: flex; flex-wrap: wrap; margin: 20px 0 0; }
.v3-hero__specs div { padding: 0 18px; border-left: 1px solid #2C5079; }
.v3-hero__specs div:first-child { padding-left: 0; border-left: 0; }
.v3-hero__specs dt { font-size: 12px; color: #A9BACB; }
.v3-hero__specs dd { margin: 0; font-size: 15px; font-weight: 700; }
.v3-hero__price { margin-top: 26px; font-variant-numeric: tabular-nums; }
.v3-hero__now { margin: 0; font-size: 46px; line-height: 1; font-weight: 800; font-stretch: 78%; }
.v3-hero__was { margin: 8px 0 0; font-size: 15px; color: #A9BACB; }
.v3-hero__was b { margin-left: 4px; color: var(--v3-orange); }
.v3-hero__was span { margin-left: 10px; }
.v3-hero__cta { margin-top: 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.v3-hero__quota { font-size: 13px; color: #A9BACB; font-variant-numeric: tabular-nums; }
.v3-hero__stage {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
  padding: 20px 36px; background: #fff;
}
.v3-hero__stage img { width: 100%; max-width: 700px; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; }
@media (max-width: 1023.98px) {
  .v3-hero { background: var(--v3-navy); }
  .v3-hero__in { flex-direction: column-reverse; min-height: 0; }
  .v3-hero__text { flex: none; padding: 18px 16px 22px; }
  .v3-hero__title { font-size: 32px; margin-top: 6px; }
  .v3-hero__title--long { font-size: 28px; }
  .v3-hero__specs { margin-top: 12px; }
  .v3-hero__specs div { padding: 0 12px; }
  .v3-hero__specs dd { font-size: 14px; }
  .v3-hero__price { margin-top: 16px; }
  .v3-hero__now { font-size: 36px; }
  .v3-hero__cta { margin-top: 16px; flex-direction: column; align-items: stretch; gap: 8px; }
  .v3-hero__quota { text-align: center; }
  .v3-hero__stage { padding: 12px 16px 4px; }
  .v3-hero__stage img { max-height: 260px; }
}

/* ---------- flash sale ---------- */
.v3-flash { margin-top: 0; background: var(--v3-cream); padding: 28px 0 32px; }
.v3-flash__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.v3-flash__title { margin: 0; font-size: 26px; line-height: 1.1; font-weight: 800; font-stretch: 82%; }
.v3-flash__timer { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #5B4313; }
.v3-flash__head .v3-more { margin-left: auto; }
.v3-cd { display: flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.v3-cd b { min-width: 34px; padding: 3px 0; text-align: center; border-radius: 2px; background: var(--v3-navy); color: #fff; font-size: 17px; }
.v3-cd i { font-style: normal; font-weight: 700; color: var(--v3-navy); }
.v3-flash.is-ended .v3-flash__timer { color: var(--v3-t3); }
.v3-flash__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
/* lebar kartu tetap seperempat walau produk flash sedikit */
.v3-flash__grid--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-flash__grid .v3-card { border-color: transparent; }

.v3-rows { display: flex; flex-direction: column; padding: 6px 18px; background: #fff; border-radius: 4px; }
.v3-rows__title { margin: 0; padding: 12px 0 10px; font-size: 14px; font-weight: 700; color: var(--v3-t2); border-bottom: 1px solid var(--v3-rule); }
.v3-rows__list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.v3-row { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 14px 0; border-bottom: 1px solid var(--v3-rule-2); }
.v3-row:last-child { border-bottom: 0; }
.v3-row__name { margin: 0; font-size: 15px; line-height: 1.3; font-weight: 500; }
.v3-row__name a { color: var(--v3-navy); text-decoration: none; }
.v3-row__name a:hover { text-decoration: underline; text-underline-offset: 2px; }
.v3-row__spec { margin: 2px 0 0; font-size: 13px; color: var(--v3-t3); }
.v3-row__buy { margin-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.v3-row__now { margin: 0; font-size: 22px; line-height: 1; font-weight: 800; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.v3-row__was { margin: 4px 0 0; font-size: 13px; color: var(--v3-t3); font-variant-numeric: tabular-nums; }
.v3-row__was b { color: var(--v3-orange-t); }

@media (max-width: 1023.98px) {
  .v3-flash__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .v3-rows { grid-column: 1 / -1; }
}
@media (max-width: 639.98px) {
  .v3-flash { padding: 18px 0 20px; }
  .v3-flash__title { font-size: 22px; }
  .v3-flash__head { gap: 6px 10px; margin-bottom: 12px; }
  .v3-flash__timer span { display: none; }
  .v3-cd b { min-width: 28px; font-size: 15px; }
  /* kartu ganjil terakhir: horizontal selebar baris */
  .v3-flash__grid > article.v3-card:nth-of-type(odd):last-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: 44% minmax(0, 1fr); column-gap: 12px; }
  .v3-flash__grid > article.v3-card:nth-of-type(odd):last-of-type > * { grid-column: 2; }
  .v3-flash__grid > article.v3-card:nth-of-type(odd):last-of-type > .v3-card__media { grid-column: 1; grid-row: 1 / span 6; align-self: center; }
  .v3-rows { padding: 4px 12px; }
  .v3-row { padding: 12px 0; }
  .v3-row__name { font-size: 14px; }
  .v3-row__spec { display: none; }
}

/* ---------- kartu produk ---------- */
.v3-card {
  position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
  padding: 14px 16px 16px; background: #fff; border: 1px solid var(--v3-rule); border-radius: 4px;
  transition: border-color .12s;
}
.v3-card:hover { border-color: var(--v3-navy); }
.v3-card:focus-within { outline: 2px solid var(--v3-link); outline-offset: 2px; }
.v3-card__media { display: block; aspect-ratio: 4 / 3; background: #fff; }
.v3-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v3-card__wish {
  position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; display: grid; place-items: center;
  border: 0; border-radius: 6px; background: none; color: var(--v3-t4); cursor: pointer;
}
.v3-card__wish:hover { color: var(--v3-navy); }
.v3-card__wish.on { color: #D9443A; }
.v3-card__wish.on svg { fill: currentColor; }
.v3-card__meta { margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--v3-t3); }
.v3-card__name {
  margin: 12px 0 0; font-size: 15px; line-height: 1.33; font-weight: 500; min-height: 40px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.v3-card__meta + .v3-card__name { margin-top: 2px; }
.v3-card__name a { color: var(--v3-navy); text-decoration: none; }
.v3-card:hover .v3-card__name a { text-decoration: underline; text-underline-offset: 2px; }
.v3-card__spec { margin: 2px 0 0; font-size: 13px; color: var(--v3-t3); }
.v3-card__buy { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.v3-card__price { min-width: 0; font-variant-numeric: tabular-nums; }
.v3-card__now { display: block; font-size: 24px; line-height: 1; font-weight: 800; font-stretch: 78%; white-space: nowrap; }
.v3-card__was { display: block; margin-top: 5px; font-size: 13px; color: var(--v3-t3); white-space: nowrap; }
.v3-card__was b { color: var(--v3-orange-t); }
.v3-card__stock { margin: 6px 0 0; font-size: 13px; color: var(--v3-t2); }

.v3-cartbtn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 4px; background: var(--v3-orange); color: var(--v3-navy); cursor: pointer;
}
.v3-cartbtn:hover { background: #FFB53D; }
.v3-cartbtn:focus-visible { outline: 2px solid var(--v3-link); outline-offset: 2px; }
.v3-cartbtn--line { background: #fff; border: 1px solid #C4CDD7; }
.v3-cartbtn--line:hover { background: var(--v3-neutral); border-color: var(--v3-navy); }
.v3-cartbtn:disabled { background: #E6EAEF; color: var(--v3-t4); border-color: transparent; cursor: not-allowed; }

.v3-quota { display: block; width: 100%; height: 3px; margin-top: 14px; border: 0; background: var(--v3-cream-q); appearance: none; -webkit-appearance: none; }
.v3-quota::-webkit-progress-bar { background: var(--v3-cream-q); }
.v3-quota::-webkit-progress-value { background: var(--v3-orange-q); }
.v3-quota::-moz-progress-bar { background: var(--v3-orange-q); }
.v3-quota + .v3-card__stock { margin-top: 5px; }

/* ---------- grid produk ---------- */
.v3-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.v3-grid--best { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.v3-grid--new, .v3-grid--list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v3-band { margin-top: 44px; padding: 32px 0; background: var(--v3-neutral); }
.v3-band .v3-card { border-color: transparent; }
.v3-band .v3-card:hover { border-color: var(--v3-navy); }
.v3-band .v3-card__now { font-size: 24px; }

/* kartu peringkat (Terlaris) */
.v3-card--rank {
  display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-rows: auto auto auto 1fr auto;
  column-gap: 12px; padding: 16px;
}
.v3-card--rank .v3-card__rank { grid-column: 1; grid-row: 1; margin: 0; min-height: 78px; display: flex; flex-direction: column; }
.v3-card--rank .v3-card__rank b { font-size: 36px; line-height: 1; font-weight: 800; font-stretch: 78%; }
.v3-card--rank .v3-card__rank span { margin-top: 4px; font-size: 13px; color: var(--v3-t3); font-variant-numeric: tabular-nums; }
.v3-card--rank .v3-card__media { grid-column: 2; grid-row: 1; width: 104px; }
.v3-card--rank .v3-card__wish { display: none; }
.v3-card--rank .v3-card__name { grid-column: 1 / -1; margin-top: 14px; }
.v3-card--rank .v3-card__spec { grid-column: 1 / -1; }
.v3-card--rank .v3-card__buy { grid-column: 1 / -1; align-self: end; flex-wrap: nowrap; align-items: center; }
.v3-card--rank .v3-card__now { font-size: 21px; }
.v3-card--rank .v3-card__stock { grid-column: 1 / -1; }

@media (max-width: 1199.98px) { .v3-grid--best { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023.98px) {
  .v3-grid--new, .v3-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 639.98px) {
  .v3-card { padding: 10px 12px 12px; }
  .v3-card__name { font-size: 14px; line-height: 1.3; min-height: 54px; margin-top: 8px; }
  .v3-card__meta { margin-top: 8px; }
  .v3-card__spec { display: none; }
  .v3-card__now, .v3-band .v3-card__now { font-size: 20px; }
  .v3-card__buy { padding-top: 8px; }
  .v3-band { margin-top: 28px; padding: 18px 0 20px; }

  /* Terlaris jadi daftar peringkat */
  .v3-grid--best { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--v3-rule); }
  .v3-grid--best > li { border-bottom: 1px solid var(--v3-rule); }
  .v3-card--rank {
    grid-template-columns: 26px 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px;
    padding: 12px 0; border: 0; border-radius: 0; align-items: center;
  }
  .v3-card--rank:hover { border-color: transparent; }
  .v3-card--rank .v3-card__rank { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
  .v3-card--rank .v3-card__rank b { font-size: 26px; text-align: center; }
  .v3-card--rank .v3-card__rank span { display: none; }
  .v3-card--rank .v3-card__media { grid-column: 2; grid-row: 1 / span 2; width: 72px; }
  .v3-card--rank .v3-card__name { grid-column: 3; grid-row: 1; margin: 0; min-height: 0; -webkit-line-clamp: 2; }
  .v3-card--rank .v3-card__buy { grid-column: 3; grid-row: 2; padding-top: 4px; flex-wrap: nowrap; align-items: center; }
  .v3-card--rank .v3-card__now { font-size: 18px; }
  .v3-card--rank .v3-card__stock { display: none; }
}

/* baris teks Baru masuk (produk tanpa foto) */
.v3-newrows { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.v3-newrow { display: flex; align-items: center; gap: 20px; padding: 12px 18px; background: #fff; border-radius: 4px; }
.v3-newrow__k { font-size: 13px; font-weight: 700; color: var(--v3-t3); white-space: nowrap; }
.v3-newrow__name { flex: 1; min-width: 0; font-size: 15px; }
.v3-newrow__name a { color: var(--v3-navy); font-weight: 500; text-decoration: none; }
.v3-newrow__name a:hover { text-decoration: underline; }
.v3-newrow__name span { font-size: 13px; color: var(--v3-t3); }
.v3-newrow__price { font-size: 20px; font-weight: 800; font-stretch: 78%; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 639.98px) {
  .v3-newrow { flex-wrap: wrap; gap: 2px 10px; padding: 10px 12px; }
  .v3-newrow__k { flex-basis: 100%; }
  .v3-newrow__name { flex-basis: calc(100% - 54px); font-size: 14px; }
  .v3-newrow__name span { display: none; }
  .v3-newrow__price { order: 3; font-size: 19px; }
  .v3-newrow .v3-cartbtn { order: 2; margin-left: auto; }
}

/* ---------- kategori ---------- */
.v3-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.v3-cat {
  display: flex; flex-direction: column; gap: 12px; height: 100%; box-sizing: border-box; padding: 20px 18px;
  background: var(--v3-neutral); border: 1px solid var(--v3-neutral); border-radius: 4px;
  color: var(--v3-navy); text-decoration: none;
}
.v3-cat:hover { border-color: var(--v3-navy); color: var(--v3-navy); }
.v3-cat__name { font-size: 16px; font-weight: 700; line-height: 1.2; }
.v3-cat__sub { margin-top: -8px; font-size: 13px; line-height: 1.35; color: var(--v3-t3); }
@media (max-width: 1023.98px) { .v3-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 639.98px) {
  .v3-cat { gap: 8px; padding: 14px 12px; min-height: 92px; }
  .v3-cat svg { width: 28px; height: 28px; }
  .v3-cat__name { font-size: 14px; }
  .v3-cat__sub { display: none; }
}

/* ---------- brand ---------- */
.v3-brands {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-top: 1px solid var(--v3-rule); border-left: 1px solid var(--v3-rule);
}
.v3-brands li { border-right: 1px solid var(--v3-rule); border-bottom: 1px solid var(--v3-rule); }
.v3-brands a { display: grid; place-items: center; height: 56px; font-size: 14px; font-weight: 800; color: var(--v3-t2); text-decoration: none; }
.v3-brands a:hover { background: var(--v3-neutral); color: var(--v3-navy); }
@media (max-width: 639.98px) {
  .v3-brands { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
  .v3-brands a { height: 48px; font-size: 13px; }
}

/* ---------- jaminan belanja ---------- */
.v3-trust {
  list-style: none; margin: 44px 0 0; padding: 24px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  border-top: 1px solid var(--v3-rule);
}
.v3-trust li { display: flex; gap: 14px; align-items: flex-start; color: var(--v3-navy); }
.v3-trust svg { flex: none; }
.v3-trust span { font-size: 14px; color: var(--v3-t2); }
.v3-trust b { display: block; margin-bottom: 2px; font-size: 15px; color: var(--v3-navy); }
@media (max-width: 1023.98px) { .v3-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 639.98px) {
  .v3-trust { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; padding-top: 18px; }
  .v3-trust span { font-size: 13px; }
  .v3-trust b { font-size: 14px; }
}

/* ---------- footer ---------- */
.v3-foot { margin-top: 0; background: var(--v3-navy); color: #C9D5E2; font-family: var(--v3-font); font-size: 14px; }
.v3-foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.6fr); gap: 32px 48px; padding-top: 36px; padding-bottom: 28px; }
.v3-foot__brand p { margin: 10px 0 0; max-width: 300px; }
.v3-foot__social { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.v3-foot a { color: #C9D5E2; text-decoration: none; }
.v3-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.v3-foot h2 { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #fff; }
.v3-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.v3-foot__news label { display: block; margin-bottom: 8px; font-weight: 700; color: #fff; }
.v3-foot__newsrow { display: flex; gap: 8px; }
.v3-foot__newsrow input {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px; box-sizing: border-box;
  border: 1px solid #3E5A78; border-radius: 4px; background: #0E3760; color: #fff; font: 400 16px var(--v3-font);
}
.v3-foot__newsrow input::placeholder { color: #8EA3B9; }
.v3-foot__newsrow button {
  height: 44px; padding: 0 18px; border: 0; border-radius: 4px; background: #fff; color: var(--v3-navy);
  font: 700 14px var(--v3-font); cursor: pointer;
}
.v3-foot__newsrow button:disabled { opacity: .6; cursor: wait; }
.v3-foot__news p { margin: 8px 0 0; font-size: 12px; color: #A9BACB; }
.v3-foot__news .v3-foot__msg { font-size: 13px; color: #fff; }
.v3-foot__news .v3-foot__msg:empty { display: none; }
.v3-foot__bottom { border-top: 1px solid #23486F; font-size: 13px; color: #A9BACB; }
.v3-foot__bottom .v3-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 14px; padding-bottom: 16px; }
@media (max-width: 1023.98px) {
  .v3-foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .v3-foot__brand, .v3-foot__news { grid-column: 1 / -1; }
  .v3-foot__bottom .v3-wrap { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- navigasi bawah mobile ---------- */
.v3-mnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 64px; padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff; border-top: 1px solid var(--v3-rule); font-family: var(--v3-font);
}
.v3-mnav__item {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; background: none; color: var(--v3-t3); font: 400 12px var(--v3-font); text-decoration: none; cursor: pointer;
}
.v3-mnav__item.is-active { color: var(--v3-navy); font-weight: 700; box-shadow: inset 0 3px 0 var(--v3-orange); }
.v3-mnav__badge { top: 6px; right: auto; left: calc(50% + 4px); }
@media (min-width: 1024px) { .v3-mnav { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .v3-card, .v3-cat { transition: none; }
}
.v3-nowrap { white-space: nowrap; }

/* ---------- jembatan token untuk halaman lama (katalog, PDP, checkout) ----------
   Halaman di luar beranda belum dirombak ke v3. Aksen ungu lama (--volt) dipetakan
   ke biru tautan v3, dan tombol gradasi PDP diganti tombol oranye v3.
   Selektor diawali "html" agar menang atas product.css yang dimuat sesudah file ini. */
:root { --volt: #1667C5; --volt2: #1667C5; }
html .pdp-btn-primary,
html .pdp-bottombar-buy { background: var(--v3-orange); color: var(--v3-navy); }
html .pdp-btn-primary:hover,
html .pdp-bottombar-buy:hover { background: #FFB53D; }
html .pdp-bottombar-cart { background: #fff; color: var(--v3-navy); border: 1px solid #C4CDD7; }
/* product.css menimpa kelas lg:hidden pada bilah beli PDP; kembalikan ke perilaku semula */
@media (min-width: 1024px) { html .pdp-bottombar { display: none; } }

/* ---------- halaman katalog (kategori, brand, terlaris, baru masuk, cari) ---------- */
.v3-cat-page { padding: 16px 0 56px; background: #fff; font-family: var(--v3-font); color: var(--v3-navy); }
.v3-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--v3-t3); }
.v3-crumb li + li::before { content: "/"; margin-right: 6px; color: var(--v3-t4); }
.v3-crumb a { color: var(--v3-t3); text-decoration: none; }
.v3-crumb a:hover { color: var(--v3-navy); text-decoration: underline; }
.v3-crumb [aria-current] { color: var(--v3-navy); font-weight: 600; }
.v3-pagehead { margin: 14px 0 20px; }
.v3-pagehead h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 800; font-stretch: 88%; }
.v3-pagehead p { margin: 4px 0 0; font-size: 14px; color: var(--v3-t3); }
.v3-cat-page .v3-card { border-color: var(--v3-rule); }

.v3-card__media--none { display: grid; place-items: center; background: var(--v3-neutral); text-decoration: none; }
.v3-card__media--none span { font-size: 13px; color: var(--v3-t3); }

.v3-brandlist {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.v3-brandlist__item {
  display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 18px 20px;
  border: 1px solid var(--v3-rule); border-radius: 6px; color: var(--v3-navy); text-decoration: none;
}
a.v3-brandlist__item:hover { border-color: var(--v3-navy); }
a.v3-brandlist__item:focus-visible { outline: 2px solid var(--v3-link); outline-offset: 2px; }
.v3-brandlist__name { font-size: 18px; font-weight: 800; font-stretch: 88%; }
.v3-brandlist__count { font-size: 13px; color: var(--v3-t3); }
.v3-brandlist__item--empty { background: var(--v3-neutral); border-color: transparent; }
.v3-brandlist__item--empty .v3-brandlist__name { color: var(--v3-t3); }

.v3-empty { padding: 40px 20px; border: 1px solid var(--v3-rule); border-radius: 6px; text-align: center; color: var(--v3-t3); font-size: 14px; }
.v3-empty p { margin: 0 0 4px; }
.v3-empty__title { font-size: 18px; font-weight: 700; color: var(--v3-navy); }
.v3-empty .v3-btn { margin-top: 16px; }

@media (max-width: 639.98px) {
  .v3-cat-page { padding: 12px 0 40px; }
  .v3-pagehead { margin: 10px 0 14px; }
  .v3-pagehead h1 { font-size: 24px; }
  .v3-brandlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .v3-brandlist__item { padding: 14px; }
  .v3-brandlist__name { font-size: 16px; }
}

/* ---------- wordmark: "P" kapital oranye ---------- */
.v3-logo__p { color: var(--v3-orange); }

/* halaman kosong + produk lain */
.v3-empty--slim { padding: 22px 20px; }
.v3-others { margin-top: 32px; }

/* pemberitahuan keranjang (produk dihapus / harga berubah) */
.v3-notice { margin: 0 0 16px; padding: 12px 16px; border: 1px solid #F1D9A8; border-left: 4px solid var(--v3-orange); border-radius: 6px; background: #FFF8EA; color: var(--v3-navy); font-size: 14px; line-height: 1.45; }
.v3-notice[hidden] { display: none; }

/* ---------- slide hero ---------- */
.v3-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v3-slider { position: relative; background: var(--v3-navy); }
.v3-slides { display: grid; }
.v3-slide { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.v3-slider:not(.is-ready) .v3-slide:first-child,
.v3-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
.v3-slider .v3-hero__text { padding-bottom: 76px; }
.v3-slide > .v3-hero__in { flex: 1 1 auto; }
.v3-hero__hl { color: var(--v3-orange); }
.v3-hero__link { font-size: 14px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.v3-hero__link:hover { color: var(--v3-orange); }
.v3-slide--event { background: var(--v3-navy); }
.v3-hero__stage--art { position: relative; align-self: stretch; padding: 0; overflow: hidden; background: var(--v3-navy); }
.v3-hero__stage--art img { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.v3-slide--event .v3-hero__text { flex-basis: 560px; }

.v3-slider__ctrl { position: absolute; left: 0; right: 0; bottom: 20px; pointer-events: none; }
.v3-slider__bar { display: flex; align-items: center; gap: 8px; }
.v3-slider__bar > * { pointer-events: auto; }
.v3-slider__btn {
  width: 36px; height: 36px; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer;
}
.v3-slider__btn:hover { background: rgba(255, 255, 255, .18); }
.v3-slider__btn:focus-visible, .v3-slider__dot:focus-visible { outline: 2px solid var(--v3-orange); outline-offset: 2px; }
.v3-slider__dots { display: flex; align-items: center; gap: 2px; }
.v3-slider__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.v3-slider__dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .45); transition: width .2s; }
.v3-slider__dot[aria-current="true"]::before { width: 22px; background: var(--v3-orange); }

/* Panggung produk: latar putih (permintaan pemilik). Foto produk sering
   punya latar sendiri, jadi tidak diberi warna/lingkaran/blend. */
.v3-slide { --stage: #fff; background: linear-gradient(90deg, var(--v3-navy) 50%, var(--stage) 50%); }
.v3-slide--event { background: var(--v3-navy); }
.v3-slide .v3-hero__stage:not(.v3-hero__stage--art) { position: relative; overflow: hidden; background: var(--stage); }
.v3-slide .v3-hero__stage img { position: relative; max-height: 400px; }
.v3-hero__badge {
  position: absolute; top: 28px; right: 32px; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center; background: var(--v3-orange); color: var(--v3-navy);
  font-size: 26px; font-weight: 800; font-stretch: 80%; font-variant-numeric: tabular-nums;
  transform: rotate(-8deg);
}
.v3-slide--promo .v3-hero__badge { background: #D1342A; color: #fff; }
.v3-hero__was s { color: #A9BACB; }
.v3-hero__was b { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 4px; background: var(--v3-orange); color: var(--v3-navy); font-size: 13px; }
.v3-slide--promo .v3-hero__was b { background: #D1342A; color: #fff; }
.v3-hero__was + .v3-hero__now { margin-top: 6px; }
.v3-hero__save { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--v3-orange); }
.v3-hero__quota { margin: 14px 0 0; }
@media (max-width: 1023.98px) {
  .v3-slider { background: var(--v3-navy); }
  .v3-slider .v3-hero__text { padding-bottom: 66px; }
  .v3-slider__ctrl { bottom: 14px; }
  .v3-hero__stage--art { height: 250px; }
  .v3-slide { background: var(--v3-navy); }
  .v3-slide > .v3-hero__in { justify-content: flex-end; }
  .v3-slide .v3-hero__stage { flex: none; }
  .v3-slide .v3-hero__stage:not(.v3-hero__stage--art) { height: 250px; box-sizing: border-box; }
  .v3-slide .v3-hero__stage img { max-height: 220px; }
  .v3-hero__badge { top: 12px; right: 14px; width: 64px; height: 64px; font-size: 19px; }
  .v3-slide--event .v3-hero__text { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-slide, .v3-slide.is-active { transition: none; }
}

/* ---------- jembatan warna checkout & peta alamat (gaya lama ungu -> v3) ----------
   checkout.css/checkout-addon.css/address-map.css dimuat sesudah file ini,
   jadi selektor diawali "html" agar menang. */
html:root { --co-volt: #0B2E4F; --amap-accent: #0B2E4F; }
html .co-pay-btn, html .co-bottombar-btn, html .co-addr-cta { background: var(--v3-orange); color: var(--v3-navy); }
html .co-pay-btn:disabled, html .co-bottombar-btn:disabled { background: #E6EAEF; color: #8D9BAA; }

/* PDP: penanda wajib pilih varian (product.js) */
html #pdpVariants.is-required { outline: 2px solid var(--v3-orange); outline-offset: 8px; border-radius: 6px; }
html #pdpVariants.is-required #pdpVariantLabel { color: #B42318; }
/* checkout.css menimpa lg:hidden pada bilah bayar mobile; sembunyikan di desktop */
@media (min-width: 1024px) { html .co-bottombar { display: none; } }

/* ---------- keranjang v3 (shop/cart.php + app.js renderCartPage) ---------- */
.v3-cart-page { font-family: var(--v3-font); color: var(--v3-navy); padding: 16px 0 56px; }
.v3-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.v3-cart__list { min-width: 0; }
.v3-check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 600; }
.v3-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--v3-orange); cursor: pointer; }
.v3-check input:disabled { cursor: not-allowed; opacity: .45; }
.v3-check input:focus-visible { outline: 2px solid var(--v3-link); outline-offset: 2px; }
.v3-cart__muted { color: var(--v3-t3); font-weight: 400; }
.v3-cart__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--v3-rule); border-radius: 8px; background: #fff; }
.v3-cart__bar[hidden] { display: none; }
.v3-cart__del { border: 0; background: none; padding: 6px 4px; font: inherit; font-size: 14px; font-weight: 700; color: #D1342A; cursor: pointer; }
.v3-cart__del:hover { text-decoration: underline; }
.v3-cart__items { list-style: none; margin: 12px 0 0; padding: 0; border: 1px solid var(--v3-rule); border-radius: 8px; background: #fff; }
.v3-cart__items:empty { display: none; }
.v3-cart__empty { margin-top: 12px; background: #fff; }
.v3-cart__empty[hidden] { display: none; }
.v3-empty__title { font-size: 17px; font-weight: 700; color: var(--v3-navy); }
.v3-cart__empty .v3-btn { margin-top: 14px; }

.v3-ci { display: grid; grid-template-columns: 20px 88px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px; }
.v3-ci + .v3-ci { border-top: 1px solid var(--v3-rule-2); }
.v3-ci__check { padding-top: 34px; }
.v3-ci__media { position: relative; width: 88px; height: 88px; border: 1px solid var(--v3-rule-2); border-radius: 6px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.v3-ci__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.v3-ci__media svg { width: 80%; height: auto; }
.v3-ci__info { min-width: 0; }
.v3-ci__name { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 500; }
.v3-ci__name a { color: inherit; text-decoration: none; }
.v3-ci__name a:hover { color: var(--v3-link); text-decoration: underline; }
.v3-ci__var { margin: 4px 0 0; font-size: 13px; color: var(--v3-t3); }
.v3-ci__na { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #B42318; }
.v3-ci__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.v3-ci__price { margin: 0; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3-ci__acts { display: flex; align-items: center; gap: 14px; }
.v3-ci__trash { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 6px; background: none; color: var(--v3-t3); cursor: pointer; }
.v3-ci__trash:hover { background: var(--v3-neutral); color: #D1342A; }
.v3-qty { display: inline-flex; align-items: center; border: 1px solid var(--v3-rule); border-radius: 8px; height: 36px; }
.v3-qty button { width: 34px; height: 100%; border: 0; background: none; font: inherit; font-size: 18px; color: var(--v3-navy); cursor: pointer; }
.v3-qty button:disabled { color: #C3CCD5; cursor: not-allowed; }
.v3-qty span { min-width: 30px; text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* produk habis / tidak dijual: tetap di keranjang, redup, hanya hapus yang aktif */
.v3-ci.is-na .v3-ci__media img, .v3-ci.is-na .v3-ci__media svg { opacity: .4; filter: grayscale(1); }
.v3-ci.is-na .v3-ci__name, .v3-ci.is-na .v3-ci__var, .v3-ci.is-na .v3-ci__price { color: var(--v3-t4); }
.v3-ci.is-na .v3-ci__check, .v3-ci.is-na .v3-qty { pointer-events: none; opacity: .5; }
.v3-ci__flag { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding: 5px 4px; background: rgba(11, 46, 79, .88); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }

.v3-cart__sum { position: sticky; top: 140px; padding: 20px; border: 1px solid var(--v3-rule); border-radius: 8px; background: #fff; }
.v3-cart__sum h2 { margin: 0 0 14px; font-size: 17px; font-weight: 800; }
.v3-cart__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; color: var(--v3-t2); }
.v3-cart__row b { font-size: 20px; color: var(--v3-navy); font-variant-numeric: tabular-nums; }
.v3-cart__note { margin: 10px 0 0; font-size: 13px; color: var(--v3-t3); }
.v3-cart__buy { width: 100%; height: 48px; margin-top: 16px; border: 0; border-radius: 8px; background: var(--v3-orange); color: var(--v3-navy); font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.v3-cart__buy:hover:not(:disabled) { background: var(--v3-orange-q); }
.v3-cart__buy:disabled { background: #E6EAEF; color: #8D9BAA; cursor: not-allowed; }
.v3-cart__buy:focus-visible { outline: 2px solid var(--v3-link); outline-offset: 2px; }
.v3-cart__sum[hidden] { display: none; }
.v3-cart__more { display: block; margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--v3-link); text-decoration: none; }
.v3-cart__more:hover { text-decoration: underline; }

@media (max-width: 1023.98px) {
  .v3-cart { grid-template-columns: minmax(0, 1fr); }
  .v3-cart-page { padding-bottom: 150px; }
  .v3-cart__sum { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 40; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -4px 14px rgba(11, 46, 79, .08); }
  .v3-cart__sum h2, .v3-cart__note, .v3-cart__more { display: none; }
  .v3-cart__row { flex-direction: column; align-items: flex-start; gap: 0; font-size: 13px; }
  .v3-cart__row b { font-size: 18px; }
  .v3-cart__buy { width: auto; min-width: 128px; margin: 0; padding: 0 18px; }
}
@media (max-width: 639.98px) {
  .v3-ci { grid-template-columns: 20px 72px minmax(0, 1fr); gap: 12px; padding: 14px 12px; }
  .v3-ci__media { width: 72px; height: 72px; }
  .v3-ci__check { padding-top: 26px; }
  .v3-ci__side { grid-column: 2 / -1; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .v3-cart__bar { padding: 12px; }
}

/* ---------- Detail Pesanan: blok bayar (pesanan/show.php + order-pay.js) ---------- */
.v3-opay { font-family: var(--v3-font); color: var(--v3-navy); background: #fff; border: 2px solid var(--v3-orange); border-radius: 14px; padding: 20px; scroll-margin-top: 140px; }
.v3-opay__head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.v3-opay__due { margin: 6px 0 0; font-size: 14px; color: var(--v3-t2); }
.v3-opay__due b { color: var(--v3-navy); }
.v3-opay__cd { margin-left: 4px; font-variant-numeric: tabular-nums; color: #B42318; font-weight: 600; }
.v3-opay__sim { margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; background: #FFF8EA; border: 1px solid #F1D9A8; font-size: 13px; }
.v3-opay__expired { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: #FEF3F2; color: #B42318; font-size: 14px; }
.v3-opay__total { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--v3-neutral); }
.v3-opay__total span { font-size: 14px; color: var(--v3-t2); }
.v3-opay__total b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; margin-right: auto; }
.v3-opay__copy { height: 34px; padding: 0 14px; border: 1px solid var(--v3-navy); border-radius: 8px; background: #fff; color: var(--v3-navy); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.v3-opay__copy:hover { background: var(--v3-navy); color: #fff; }
.v3-opay__copy:focus-visible, .v3-opay__btn:focus-visible, .v3-opay__more:focus-visible { outline: 2px solid var(--v3-link); outline-offset: 2px; }
.v3-opay__va { margin-top: 14px; }
.v3-opay__label { display: block; font-size: 13px; font-weight: 600; color: var(--v3-t3); }
.v3-opay__varow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.v3-opay__num { font-size: 26px; font-weight: 800; letter-spacing: 1px; font-variant-numeric: tabular-nums; word-break: break-all; }
.v3-opay__hint { margin: 8px 0 0; font-size: 13px; color: var(--v3-t3); }
.v3-opay__qrwrap { margin-top: 14px; text-align: center; }
.v3-opay__qr { width: 236px; height: 236px; margin: 0 auto; padding: 10px; border: 1px solid var(--v3-rule); border-radius: 12px; background: #fff; display: grid; place-items: center; box-sizing: content-box; }
.v3-opay__qr svg { display: block; width: 236px; height: 236px; }
.v3-opay__btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; margin-top: 16px; padding: 0 22px; border-radius: 10px; background: var(--v3-orange); color: var(--v3-navy); font-weight: 800; text-decoration: none; }
.v3-opay__more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--v3-link); }
.v3-opay__listbtn { padding: 0 16px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--v3-orange); color: var(--v3-navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.v3-opay__listbtn:hover { background: var(--v3-orange-q); }
@media (max-width: 639.98px) {
  .v3-opay { padding: 16px; }
  .v3-opay__num { font-size: 22px; }
}

/* ---------- Detail Pesanan: ulasan pembeli (pesanan/show.php #ulasan) ---------- */
.v3-notice--ok { border-color: #B7E1C6; border-left-color: #1F8A4C; background: #EEF8F1; }
.v3-orv { font-family: var(--v3-font); color: var(--v3-navy); background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 1px 2px rgba(11, 46, 79, .06); scroll-margin-top: 140px; }
.v3-orv h2 { margin: 0; font-size: 18px; font-weight: 800; }
.v3-orv__lead { margin: 4px 0 0; font-size: 14px; color: var(--v3-t3); }
.v3-orv__item { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--v3-rule-2); }
.v3-orv__name { margin: 0; font-size: 15px; font-weight: 600; }
.v3-orv__name span { font-weight: 400; color: var(--v3-t3); }
.v3-orv__done { margin: 6px 0 0; font-size: 13px; color: var(--v3-t3); display: flex; align-items: center; gap: 8px; }
.v3-orv__stars { color: var(--v3-orange); font-size: 18px; letter-spacing: 1px; }
.v3-orv__stars span { color: var(--v3-rule); }
.v3-orv__body { margin: 6px 0 0; font-size: 14px; color: var(--v3-t2); }
.v3-orv__edit { margin-top: 8px; }
.v3-orv__edit summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--v3-link); width: max-content; }
.v3-orv__form { margin-top: 10px; display: grid; gap: 8px; max-width: 560px; }
.v3-stars { margin: 0; padding: 0; border: 0; min-width: 0; }
.v3-stars legend { padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.v3-stars__row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.v3-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v3-stars label { width: 36px; height: 36px; cursor: pointer; background: no-repeat center / 30px 30px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23DCE2E8' d='M10 1.6l2.47 5.18 5.7.6-4.27 3.84 1.2 5.6L10 15.9l-5.1 2.72 1.2-5.6L1.83 7.98l5.7-.6z'/%3E%3C/svg%3E"); }
.v3-stars input:checked ~ label, .v3-stars label:hover, .v3-stars label:hover ~ label { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23F5A623' d='M10 1.6l2.47 5.18 5.7.6-4.27 3.84 1.2 5.6L10 15.9l-5.1 2.72 1.2-5.6L1.83 7.98l5.7-.6z'/%3E%3C/svg%3E"); }
.v3-stars input:focus-visible + label { outline: 2px solid var(--v3-link); outline-offset: 2px; border-radius: 6px; }
.v3-orv__label { font-size: 14px; font-weight: 600; }
.v3-orv__label span { font-weight: 400; color: var(--v3-t3); }
.v3-orv__text { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--v3-rule); border-radius: 8px; font: inherit; font-size: 14px; color: var(--v3-navy); resize: vertical; }
.v3-orv__text:focus { outline: 2px solid var(--v3-link); outline-offset: 0; border-color: transparent; }
.v3-orv__submit { justify-self: start; height: 42px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--v3-orange); color: var(--v3-navy); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.v3-orv__submit:hover { background: var(--v3-orange-q); }
.v3-orv__item--ship { border-top: 0; padding-top: 0; margin-top: 18px; padding: 14px; border-radius: 10px; background: var(--v3-neutral); }
.v3-orv__photos { margin: 0; padding: 0; border: 0; min-width: 0; }
.v3-orv__photos legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.v3-orv__photos legend span { font-weight: 400; color: var(--v3-t3); }
.v3-orv__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.v3-orv__thumbs--view { margin-top: 8px; }
.v3-orv__thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--v3-rule); display: block; }
.v3-orv__thumbs--view img { width: 64px; height: 64px; }
.v3-orv__thumb { display: grid; gap: 4px; font-size: 12px; color: var(--v3-t3); cursor: pointer; }
.v3-orv__thumb span { display: inline-flex; align-items: center; gap: 4px; }
.v3-orv__file { font: inherit; font-size: 14px; }
.v3-orv__file::file-selector-button { margin-right: 10px; height: 36px; padding: 0 14px; border: 1px solid var(--v3-navy); border-radius: 8px; background: #fff; color: var(--v3-navy); font: inherit; font-weight: 700; cursor: pointer; }
.v3-ci__na a { color: var(--v3-link); text-decoration: underline; }
.v3-orv__picked { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.v3-orv__picked:empty { display: none; }
.v3-orv__picked li { display: grid; gap: 4px; justify-items: start; }
.v3-orv__picked img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--v3-rule); }
.v3-orv__picked button { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 600; color: #B42318; cursor: pointer; }
.v3-orv__picked .is-note { align-self: center; font-size: 12.5px; color: var(--v3-t3); }
