/*
  Mobile-first PPOB flow overrides.
  Scope: ppob.html -> ppob-order.html -> checkout.html -> checkout-status.html
*/

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(78px + env(safe-area-inset-top, 0px));
}

body.ppob-storefront {
  min-width: 320px;
  overflow-x: hidden;
  background: #f5f8fc;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-tap-highlight-color: transparent;
}

body.ppob-storefront *,
body.ppob-storefront *::before,
body.ppob-storefront *::after {
  box-sizing: border-box;
}

body.ppob-storefront :is(button, a, input, select, textarea, summary) {
  touch-action: manipulation;
}

body.ppob-storefront :is(input, select, textarea, .input) {
  min-height: 48px;
  border-radius: 14px;
  font-size: 16px;
}

body.ppob-storefront textarea.input {
  min-height: 110px;
}

body.ppob-storefront :is(.btn, button.btn) {
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.2;
}

body.ppob-storefront .container {
  max-width: 1180px;
}

body.ppob-storefront :is(.ppob-panel, .summary-card, .ppob-precheckout-card, .checkout-form-section, .checkout-status-card, .checkout-status-detail-card, .checkout-status-lookup, .checkout-payment-focus, .checkout-qris-panel, .checkout-payment-confirmation, .checkout-submit-safety) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.ppob-storefront .public-navbar-standard {
  padding-top: env(safe-area-inset-top, 0px);
}

body.ppob-storefront .public-navbar-standard .container {
  width: min(100% - 28px, 1180px);
}

body.ppob-storefront .ppob-store-section-first,
body.ppob-storefront .ppob-order-hero-section {
  padding-top: calc(96px + env(safe-area-inset-top, 0px));
}

body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider {
  width: min(100%, 760px);
  margin-inline: auto;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-track,
body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slide,
body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-photo {
  width: 100%;
}

body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-photo {
  aspect-ratio: 16 / 6;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

body.ppob-storefront .ppob-catalog-heading {
  max-width: 100%;
}

body.ppob-storefront .ppob-catalog-tabs {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.ppob-storefront .ppob-catalog-tabs::-webkit-scrollbar,
body.ppob-storefront .ppob-visible-subfilter::-webkit-scrollbar,
body.ppob-storefront .ppob-brand-marquee::-webkit-scrollbar,
body.ppob-storefront .ppob-payment-logo-strip::-webkit-scrollbar {
  display: none;
}

body.ppob-storefront .ppob-shortcut-button {
  flex: 0 0 auto;
  min-width: 122px;
  min-height: 46px;
  scroll-snap-align: start;
  white-space: nowrap;
}

body.ppob-storefront .ppob-visible-subfilter {
  justify-content: flex-start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-inline: 4px;
}

body.ppob-storefront .ppob-visible-subfilter-btn {
  scroll-snap-align: start;
}

body.ppob-storefront .ppob-product-grid {
  width: 100%;
  align-items: stretch;
}

body.ppob-storefront .ppob-product-card {
  width: 100%;
  min-width: 0;
}

body.ppob-storefront .ppob-product-card :is(h3, p, small, strong) {
  overflow-wrap: anywhere;
}

body.ppob-storefront :is(.ppob-brand-marquee, .ppob-payment-logo-strip) {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  padding-bottom: 4px;
}

body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-layout {
  align-items: start;
}

body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-summary {
  min-width: 0;
}

body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-summary-card {
  position: sticky;
  top: calc(88px + env(safe-area-inset-top, 0px));
}

body.ppob-order-page .ppob-contact-grid,
body.checkout-status-page .checkout-status-lookup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.checkout-page .payment-method-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.checkout-page .payment-method-option {
  min-width: 0;
  min-height: 64px;
  border-radius: 16px;
}

body.checkout-page .checkout-payment-focus-head,
body.checkout-page .checkout-qris-panel {
  align-items: center;
}

body.checkout-page .checkout-payment-number {
  word-break: break-word;
  user-select: all;
  -webkit-user-select: all;
}

body.checkout-page .checkout-confirm-checkbox {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

body.checkout-page .checkout-confirm-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  border-radius: 6px;
}

body.checkout-status-page .checkout-status-payment-row,
body.checkout-status-page .checkout-status-detail-row,
body.ppob-storefront .summary-list li {
  gap: 12px;
}

body.checkout-status-page .checkout-status-payment-row strong,
body.checkout-status-page .checkout-status-detail-row strong,
body.ppob-storefront .summary-list strong {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  body.ppob-storefront .public-navbar-standard .container {
    width: min(100% - 22px, 1180px);
  }

  body.ppob-storefront .public-navbar-standard .public-nav-links {
    top: calc(74px + env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 90px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    border-radius: 18px;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-layout,
  body.ppob-order-page .ppob-contact-grid,
  body.checkout-status-page .checkout-status-lookup-grid {
    grid-template-columns: 1fr !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-summary-card {
    position: static;
  }

  body.ppob-order-page .ppob-summary,
  body.checkout-page .ppob-summary {
    order: -1;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel-head {
    display: grid;
    gap: 10px;
  }

  body.checkout-page .checkout-panel-guide {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
  }

  body.checkout-page .checkout-guide-item {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 720px) {
  body.ppob-storefront {
    background: #f7f9fc;
  }

  body.ppob-storefront .container {
    width: min(100% - 18px, 1180px) !important;
  }

  body.ppob-storefront .ppob-store-section-first,
  body.ppob-storefront .ppob-order-hero-section {
    padding-top: calc(82px + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 34px !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 14px;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-photo {
    aspect-ratio: 16 / 7;
  }

  body.ppob-storefront .ppob-catalog-kicker {
    font-size: 10px;
  }

  body.ppob-storefront .ppob-catalog-heading h2,
  body.ppob-storefront .section-title {
    font-size: clamp(1.7rem, 8vw, 2.35rem) !important;
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  body.ppob-storefront .ppob-catalog-tabs {
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 7px !important;
    border-radius: 999px;
  }

  body.ppob-storefront .ppob-shortcut-button {
    min-width: 112px;
    padding-inline: 16px !important;
    font-size: 13px !important;
  }

  body.ppob-storefront .ppob-visible-subfilter {
    margin-top: 20px;
    gap: 12px !important;
  }

  body.ppob-storefront .ppob-visible-subfilter-btn.is-image-tile {
    width: 128px !important;
    min-width: 128px !important;
    min-height: 164px !important;
    grid-template-rows: 96px auto !important;
    border-radius: 18px !important;
  }

  body.ppob-storefront .ppob-visible-subfilter-media {
    width: 96px !important;
    height: 96px !important;
    border-radius: 14px !important;
  }

  body.ppob-storefront .ppob-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body.ppob-storefront .ppob-product-card {
    min-height: 0 !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body.ppob-storefront .ppob-product-card :is(.ppob-product-thumb, .ppob-product-fallback) {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: 132px !important;
    border-radius: 14px !important;
  }

  body.ppob-storefront .ppob-product-card h3 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  body.ppob-storefront .ppob-product-card p,
  body.ppob-storefront .ppob-product-provider {
    font-size: 11px !important;
  }

  body.ppob-storefront .ppob-product-action,
  body.ppob-storefront .ppob-product-card .btn {
    width: 100%;
    min-height: 42px;
    font-size: 12px !important;
  }

  body.ppob-storefront .ppob-service-brand-block {
    padding-inline: 0;
  }

  body.ppob-storefront .ppob-brand-marquee,
  body.ppob-storefront .ppob-payment-logo-strip {
    flex-wrap: nowrap;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel,
  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel-head h3 {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    line-height: 1.18;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) :is(.ppob-precheckout-card, .checkout-form-section, .checkout-status-lookup, .checkout-status-card, .checkout-status-detail-card, .checkout-payment-focus, .checkout-qris-panel, .checkout-payment-confirmation, .checkout-submit-safety, .ppob-extra-fields, .checkout-invoice-followup) {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  body.ppob-order-page .ppob-selected-product-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.ppob-order-page .ppob-selected-product-price {
    justify-self: stretch;
    text-align: left;
  }

  body.ppob-order-page .ppob-selected-product-actions .btn,
  body.checkout-page .checkout-action-row .btn,
  body.checkout-status-page .checkout-action-row .btn {
    width: 100%;
  }

  body.checkout-page .payment-method-selector {
    grid-template-columns: 1fr;
  }

  body.checkout-page .payment-method-option {
    min-height: 58px;
    padding: 12px !important;
  }

  body.checkout-page .checkout-payment-focus-head,
  body.checkout-page .checkout-qris-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  body.checkout-page .checkout-method-icon-focus {
    display: none;
  }

  body.checkout-page .checkout-qris-card {
    width: min(100%, 260px);
    margin-inline: auto;
  }

  body.checkout-page .checkout-qris-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  body.checkout-page .checkout-payment-number {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    font-size: clamp(1rem, 5vw, 1.25rem);
  }

  body.checkout-status-page .checkout-status-primary-head h3 span {
    display: block;
    margin-top: 4px;
    font-size: 0.82em;
    word-break: break-word;
  }

  body.checkout-status-page .checkout-status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  body.checkout-status-page .checkout-status-detail-row,
  body.checkout-status-page .checkout-status-payment-row,
  body.ppob-storefront .summary-list li {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .checkout-action-row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.ppob-storefront .footer {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  body.ppob-storefront .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

@media (max-width: 480px) {
  body.ppob-storefront .container {
    width: min(100% - 14px, 1180px) !important;
  }

  body.ppob-storefront .public-navbar-standard .container {
    width: min(100% - 16px, 1180px) !important;
  }

  body.ppob-storefront .public-navbar-standard :is(.logo, .logo-compact) span {
    font-size: 0.9rem !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-photo {
    aspect-ratio: 16 / 7.8;
  }

  body.ppob-storefront .ppob-product-grid {
    gap: 10px !important;
  }

  body.ppob-storefront .ppob-product-card {
    padding: 10px !important;
  }

  body.ppob-storefront .ppob-product-card :is(.ppob-product-thumb, .ppob-product-fallback) {
    max-height: 118px !important;
  }

  body.ppob-storefront .ppob-visible-subfilter-btn.is-image-tile {
    width: 116px !important;
    min-width: 116px !important;
    min-height: 152px !important;
    grid-template-rows: 84px auto !important;
  }

  body.ppob-storefront .ppob-visible-subfilter-media {
    width: 84px !important;
    height: 84px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel,
  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-card {
    padding: 15px !important;
    border-radius: 18px !important;
  }

  body.checkout-page .checkout-total-card strong,
  body.checkout-status-page .checkout-total-card strong {
    font-size: clamp(1.55rem, 9vw, 2.1rem);
  }
}

@media (max-width: 380px) {
  body.ppob-storefront .ppob-product-grid {
    grid-template-columns: 1fr !important;
  }

  body.ppob-storefront .ppob-product-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  body.ppob-storefront .ppob-product-card :is(.ppob-product-thumb, .ppob-product-fallback) {
    width: 82px !important;
    height: 82px !important;
    max-height: none !important;
  }

  body.ppob-storefront .ppob-product-card .ppob-product-action {
    grid-column: 1 / -1;
  }
}

@supports (height: 100dvh) {
  body.ppob-storefront .public-navbar-standard .public-nav-links {
    max-height: calc(100dvh - 90px - env(safe-area-inset-top, 0px));
  }
}

@media (prefers-reduced-motion: reduce), (max-width: 720px) {
  body.ppob-storefront *,
  body.ppob-storefront *::before,
  body.ppob-storefront *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Android/iOS app-like surface: stronger than legacy public navbar rules. */
@media (max-width: 820px) {
  html,
  body.ppob-storefront {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    background:
      radial-gradient(circle at 16% 0%, rgba(242, 110, 34, 0.10), transparent 28%),
      linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%) !important;
  }

  body.ppob-storefront {
    padding-top: calc(64px + env(safe-area-inset-top, 0px)) !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard,
  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard.scrolled {
    min-height: calc(64px + env(safe-area-inset-top, 0px)) !important;
    height: calc(64px + env(safe-area-inset-top, 0px)) !important;
    padding: env(safe-area-inset-top, 0px) 0 0 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(207, 217, 229, 0.82) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard > .container {
    width: min(100% - 24px, 430px) !important;
    max-width: 430px !important;
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard :is(.logo, .logo-compact) {
    min-height: 44px !important;
    max-width: calc(100% - 58px) !important;
    padding: 7px 12px 7px 8px !important;
    border: 1px solid rgba(207, 217, 229, 0.95) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard :is(.logo span, .logo b, .logo-compact span, .logo-compact b) {
    color: #111827 !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .logo-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .logo-icon img {
    width: 27px !important;
    height: 27px !important;
    max-width: 27px !important;
    max-height: 27px !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    display: inline-grid !important;
    place-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(207, 217, 229, 0.95) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .menu-toggle span {
    width: 18px !important;
    height: 2px !important;
    display: block !important;
    margin: 2px 0 !important;
    border-radius: 999px !important;
    background: #111827 !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links {
    position: fixed !important;
    top: calc(72px + env(safe-area-inset-top, 0px)) !important;
    left: 50% !important;
    right: auto !important;
    width: min(calc(100% - 24px), 430px) !important;
    max-width: 430px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
    border: 1px solid rgba(207, 217, 229, 0.95) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate(-50%, -8px) scale(0.98) !important;
    pointer-events: none !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links.active,
  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links.is-active,
  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links[aria-expanded="true"] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) scale(1) !important;
    pointer-events: auto !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links li {
    width: 100% !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links a {
    width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    justify-content: flex-start !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    color: #111827 !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links a::after {
    display: none !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links a.active,
  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard .public-nav-links a:hover {
    background: #fff1e7 !important;
    color: #f26e22 !important;
  }

  body.ppob-storefront .menu-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 998 !important;
    display: none !important;
    background: rgba(15, 23, 42, 0.18) !important;
    backdrop-filter: blur(3px) !important;
  }

  body.ppob-storefront .menu-overlay.active,
  body.ppob-storefront .menu-overlay.is-active {
    display: block !important;
  }

  body.ppob-storefront :is(.section, .ppob-store-products, .ppob-store-checkout, .checkout-section) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.ppob-storefront .section > .container,
  body.ppob-storefront footer > .container,
  body.ppob-storefront .footer > .container,
  body.ppob-storefront .ppob-store-section-first > .container,
  body.ppob-storefront .ppob-order-hero-section > .container {
    width: min(100% - 18px, 430px) !important;
    max-width: 430px !important;
  }

  body.ppob-storefront .ppob-store-section-first,
  body.ppob-storefront .ppob-order-hero-section {
    padding-top: 18px !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider {
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09) !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-photo {
    aspect-ratio: 16 / 8 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.ppob-storefront .ppob-catalog-heading {
    position: sticky !important;
    top: calc(64px + env(safe-area-inset-top, 0px)) !important;
    z-index: 50 !important;
    margin: 12px -9px 14px !important;
    padding: 14px 9px 10px !important;
    background: rgba(248, 251, 255, 0.94) !important;
    backdrop-filter: blur(16px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  }

  body.ppob-storefront .ppob-catalog-heading h2 {
    margin-bottom: 12px !important;
    font-size: clamp(1.55rem, 8vw, 2.05rem) !important;
    text-align: left !important;
  }

  body.ppob-storefront .ppob-catalog-kicker {
    display: block !important;
    text-align: left !important;
  }

  body.ppob-storefront .ppob-catalog-tabs {
    width: 100% !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid rgba(207, 217, 229, 0.95) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07) !important;
  }

  body.ppob-storefront .ppob-shortcut-button {
    min-width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #111827 !important;
    box-shadow: none !important;
  }

  body.ppob-storefront .ppob-shortcut-button.is-active {
    background: #f26e22 !important;
    border-color: #f26e22 !important;
    color: #fff !important;
  }

  body.ppob-storefront .ppob-visible-subfilter {
    margin: 8px -9px 10px !important;
    padding: 4px 9px 8px !important;
  }

  body.ppob-storefront .ppob-product-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
  }

  body.ppob-storefront .ppob-product-card {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 10px 12px !important;
    min-height: 104px !important;
    padding: 12px !important;
    text-align: left !important;
    border: 1px solid rgba(207, 217, 229, 0.95) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07) !important;
  }

  body.ppob-storefront .ppob-product-card :is(.ppob-product-thumb, .ppob-product-fallback) {
    grid-row: 1 / 3 !important;
    width: 72px !important;
    height: 72px !important;
    max-height: 72px !important;
    border-radius: 18px !important;
  }

  body.ppob-storefront .ppob-product-card :is(.ppob-product-head, .ppob-product-head-copy) {
    min-width: 0 !important;
    display: block !important;
  }

  body.ppob-storefront .ppob-product-card h3 {
    margin: 0 0 3px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  body.ppob-storefront .ppob-product-card p,
  body.ppob-storefront .ppob-product-provider {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  body.ppob-storefront .ppob-product-card .ppob-product-action,
  body.ppob-storefront .ppob-product-card .btn {
    grid-column: 2 !important;
    width: auto !important;
    min-height: 38px !important;
    justify-self: start !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-summary {
    order: -1 !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel,
  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-card {
    border: 1px solid rgba(207, 217, 229, 0.95) !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-card {
    padding: 16px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel {
    padding: 16px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel-head {
    padding-bottom: 12px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel-head h3,
  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-card h3 {
    font-size: 1.25rem !important;
    line-height: 1.22 !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel-head p,
  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-copy,
  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .checkout-hint {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
  }

  body.ppob-order-page .ppob-precheckout-shell,
  body.ppob-order-page .ppob-contact-grid,
  body.checkout-status-page .checkout-status-lookup-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) :is(.ppob-precheckout-card, .checkout-form-section, .checkout-status-lookup, .checkout-status-card, .checkout-status-detail-card, .checkout-payment-focus, .checkout-qris-panel, .checkout-payment-confirmation, .checkout-submit-safety, .ppob-extra-fields, .checkout-invoice-followup) {
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }

  body.checkout-page .payment-method-selector {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.checkout-page .payment-method-option {
    min-height: 58px !important;
    border-radius: 18px !important;
    background: #fff !important;
    border-color: #dbe5f0 !important;
  }

  body.checkout-page .checkout-payment-number {
    border: 1px dashed #f26e22 !important;
    background: #fff7ed !important;
    color: #c2410c !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
  }

  body.checkout-page .checkout-payment-confirmation {
    margin-bottom: 78px !important;
  }

  body:is(.ppob-order-page, .checkout-page) .ppob-precheckout-footer,
  body.checkout-page .checkout-action-row {
    position: sticky !important;
    left: 0 !important;
    right: 0 !important;
    bottom: env(safe-area-inset-bottom, 0px) !important;
    z-index: 60 !important;
    margin: 14px -16px -16px !important;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(207, 217, 229, 0.9) !important;
    border-bottom-left-radius: 26px !important;
    border-bottom-right-radius: 26px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
    box-shadow: 0 -18px 36px rgba(15, 23, 42, 0.10) !important;
  }

  body.ppob-order-page .ppob-precheckout-footer .ppob-precheckout-divider,
  body.ppob-order-page .ppob-precheckout-footer .ppob-extra-fields,
  body.ppob-order-page .ppob-precheckout-footer .ppob-continue-meta,
  body.checkout-page .checkout-submit-safety {
    display: none !important;
  }

  body.checkout-page .checkout-action-row,
  body.ppob-order-page .ppob-precheckout-footer {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.checkout-page .checkout-action-row .btn,
  body.ppob-order-page .ppob-precheckout-footer .btn {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
  }

  body.checkout-page .checkout-action-row .btn-outline {
    order: 2 !important;
    min-height: 44px !important;
  }

  body.checkout-status-page .checkout-action-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  body.checkout-status-page .checkout-action-row .btn {
    width: 100% !important;
  }

  body.checkout-status-page .checkout-status-detail-row,
  body.checkout-status-page .checkout-status-payment-row,
  body.ppob-storefront .summary-list li {
    display: grid !important;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #edf2f7 !important;
  }

  body.checkout-status-page .checkout-status-detail-row strong,
  body.checkout-status-page .checkout-status-payment-row strong,
  body.ppob-storefront .summary-list li strong {
    font-size: 12.5px !important;
  }

  body.ppob-storefront .footer {
    margin-top: 20px !important;
    padding: 32px 0 18px !important;
    border-top-left-radius: 30px !important;
    border-top-right-radius: 30px !important;
  }

  body.ppob-storefront .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 22px !important;
  }

  body.ppob-storefront .footer-links ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 12px !important;
  }

  body.ppob-storefront .footer-links li {
    margin: 0 !important;
  }

  body.ppob-storefront :is(.floating-wa, .back-to-top) {
    transform: scale(0.86) !important;
    transform-origin: right bottom !important;
  }
}

@media (max-width: 390px) {
  body.ppob-storefront .section > .container,
  body.ppob-storefront footer > .container,
  body.ppob-storefront .footer > .container,
  body.ppob-storefront .ppob-store-section-first > .container,
  body.ppob-storefront .ppob-order-hero-section > .container,
  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard > .container {
    width: min(100% - 14px, 430px) !important;
  }

  body.ppob-storefront .ppob-product-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    min-height: 96px !important;
  }

  body.ppob-storefront .ppob-product-card :is(.ppob-product-thumb, .ppob-product-fallback) {
    width: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
  }
}

/* v142 Android Material polish: make the PPOB flow read as an app screen. */
@media (max-width: 820px) {
  body.ppob-storefront::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    z-index: 1200;
    background: rgba(255, 255, 255, 0.96);
    pointer-events: none;
  }

  body.ppob-storefront :is(.section-tag, .ppob-catalog-kicker) {
    color: #f26e22 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-store-products {
    min-height: calc(100dvh - 64px);
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider {
    margin-top: 4px !important;
    margin-bottom: 14px !important;
  }

  body.ppob-storefront .ppob-catalog-heading::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(207, 217, 229, 0.95), transparent);
  }

  body.ppob-storefront .ppob-catalog-heading h2 {
    color: #111827 !important;
    text-shadow: none !important;
  }

  body.ppob-storefront .ppob-shortcut-button {
    letter-spacing: -0.01em !important;
  }

  body.ppob-storefront .ppob-visible-subfilter-btn.is-image-tile {
    background: #fff !important;
    border: 1px solid #dbe5f0 !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07) !important;
  }

  body.ppob-storefront .ppob-visible-subfilter-btn.is-image-tile.is-active,
  body.ppob-storefront .ppob-visible-subfilter-btn.is-image-tile.active {
    border-color: rgba(242, 110, 34, 0.45) !important;
    background: #fff7ed !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card::after {
    content: "›";
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    align-self: center;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 22px;
    font-weight: 800;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card .ppob-product-card-visual {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 72px !important;
    height: 72px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card .ppob-product-card-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card .ppob-product-card-copy {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    min-width: 0 !important;
    display: grid !important;
    align-content: center !important;
    justify-items: start !important;
    padding-right: 38px !important;
    text-align: left !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card .ppob-product-card-copy p {
    color: #f26e22 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card .ppob-product-action,
  body.ppob-storefront .ppob-product-grid .ppob-product-card .btn {
    display: none !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card :is(h3, p, .ppob-product-provider) {
    padding-right: 34px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-order-hero-section {
    min-height: calc(100dvh - 64px);
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .summary-card {
    order: -1;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .checkout-total-card {
    border-radius: 22px !important;
    background: linear-gradient(135deg, #fff7ed, #ffffff) !important;
    border: 1px solid rgba(242, 110, 34, 0.22) !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .checkout-total-card strong {
    color: #f26e22 !important;
    letter-spacing: -0.04em !important;
  }

  body.ppob-order-page .ppob-selected-product-card {
    background: linear-gradient(135deg, #fff7ed, #ffffff) !important;
  }

  body.ppob-order-page .ppob-selected-product-summary {
    border-radius: 18px !important;
    background: #fff !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .form-group label {
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) :is(input.input, select.input, textarea.input) {
    background: #fff !important;
    border: 1px solid #d9e4f2 !important;
    color: #111827 !important;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02) !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) :is(input.input, select.input, textarea.input):focus {
    border-color: rgba(242, 110, 34, 0.75) !important;
    box-shadow: 0 0 0 4px rgba(242, 110, 34, 0.12) !important;
    outline: 0 !important;
  }

  body.checkout-page .payment-method-option::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #cbd5e1;
    box-shadow: 0 0 0 4px #f1f5f9;
  }

  body.checkout-page .payment-method-option:is(.is-active, .active, :focus-within)::before {
    background: #f26e22;
    box-shadow: 0 0 0 4px #ffedd5;
  }

  body.checkout-page .payment-method-option:is(.is-active, .active, :focus-within) {
    background: #fff7ed !important;
    border-color: rgba(242, 110, 34, 0.45) !important;
  }

  body.checkout-page .checkout-payment-focus,
  body.checkout-page .checkout-qris-panel {
    background: #fff !important;
  }

  body.checkout-page .checkout-confirm-checkbox span {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }

  body.checkout-status-page .checkout-status-card {
    background: linear-gradient(135deg, #ecfeff, #ffffff) !important;
  }

  body.checkout-status-page .status-badge {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
  }

  body.checkout-status-page .checkout-invoice-followup {
    background: #fff7ed !important;
    border-color: rgba(242, 110, 34, 0.25) !important;
  }

  body.ppob-storefront .btn.btn-primary {
    background: #f26e22 !important;
    border-color: #f26e22 !important;
    box-shadow: 0 14px 30px rgba(242, 110, 34, 0.25) !important;
  }

  body.ppob-storefront .btn.btn-outline {
    background: #fff !important;
    border-color: #d9e4f2 !important;
    color: #111827 !important;
  }

  body.ppob-storefront .notification {
    left: 12px !important;
    right: 12px !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    width: auto !important;
    max-width: 430px !important;
    margin-inline: auto !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 390px) {
  body.ppob-storefront .ppob-product-grid .ppob-product-card .ppob-product-card-visual {
    width: 64px !important;
    height: 64px !important;
  }
}

/* v143: Android/iOS app mode inspired by prepaid-wallet apps. */
.ppob-app-home,
.ppob-app-bottom-nav {
  display: none;
}

@media (max-width: 820px) {
  body.ppob-storefront {
    padding-top: 0 !important;
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
    background: #ffffff !important;
  }

  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard,
  body.ppob-storefront .navbar.ppob-store-nav.public-navbar-standard.scrolled,
  body.ppob-storefront .footer,
  body.ppob-storefront .floating-wa,
  body.ppob-storefront .back-to-top {
    display: none !important;
  }

  body.ppob-storefront .ppob-app-home,
  body.ppob-storefront .ppob-app-bottom-nav {
    display: block;
  }

  body.ppob-storefront .ppob-app-home {
    width: min(100%, 430px);
    margin: 0 auto;
    background: #cfd3f6;
    color: #321071;
  }

  body.ppob-storefront .ppob-app-top {
    position: relative;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 30px;
    overflow: hidden;
    background:
      radial-gradient(circle at 86% 26%, rgba(255, 215, 71, 0.95) 0 20px, transparent 21px),
      radial-gradient(circle at 80% 46%, rgba(115, 213, 99, 0.9) 0 42px, transparent 43px),
      linear-gradient(180deg, #cbd0f7 0%, #c6c9f3 100%);
  }

  body.ppob-storefront .ppob-app-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 22px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    opacity: 0.95;
  }

  body.ppob-storefront .ppob-app-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 14px;
  }

  body.ppob-storefront .ppob-app-brand-row strong {
    color: #321071;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-shadow: 1px 1px 0 #ffffff;
  }

  body.ppob-storefront .ppob-app-promo-chip {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 999px;
    background: #ffffff;
    color: #321071;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(50, 16, 113, 0.14);
  }

  body.ppob-storefront .ppob-app-promo-chip::before {
    content: "✤";
    width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    margin-right: 5px;
    border-radius: 999px;
    background: #6c2bd9;
    color: #fff;
    font-size: 12px;
  }

  body.ppob-storefront .ppob-app-wallet-card {
    position: relative;
    min-height: 152px;
    padding: 14px;
    border-radius: 16px;
    overflow: hidden;
    background:
      radial-gradient(circle at 86% 18%, rgba(255, 212, 64, 0.92) 0 19px, transparent 20px),
      radial-gradient(circle at 67% 28%, rgba(143, 209, 69, 0.9) 0 37px, transparent 38px),
      radial-gradient(circle at 40% 0%, rgba(113, 72, 214, 0.85) 0 62px, transparent 63px),
      linear-gradient(135deg, #4e24c6, #6940d9);
    color: #fff;
    box-shadow: 0 18px 36px rgba(50, 16, 113, 0.23);
  }

  body.ppob-storefront .ppob-app-wallet-card > div:first-child {
    display: grid;
    gap: 3px;
  }

  body.ppob-storefront .ppob-app-wallet-card span,
  body.ppob-storefront .ppob-app-wallet-card small,
  body.ppob-storefront .ppob-app-wallet-card strong {
    position: relative;
    z-index: 1;
  }

  body.ppob-storefront .ppob-app-wallet-card > div:first-child span {
    font-size: 12px;
    font-weight: 900;
  }

  body.ppob-storefront .ppob-app-wallet-card > div:first-child small {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  body.ppob-storefront .ppob-app-wallet-card > div:first-child strong {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.03em;
  }

  body.ppob-storefront .ppob-app-points {
    position: absolute !important;
    right: 16px;
    top: 60px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #ffffff;
    color: #4e24c6;
    font-size: 11px;
    font-weight: 900;
  }

  body.ppob-storefront .ppob-app-wallet-actions {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  body.ppob-storefront .ppob-app-wallet-actions a {
    display: grid;
    place-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
  }

  body.ppob-storefront .ppob-app-wallet-actions a span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #5940d4;
    font-size: 18px;
    font-weight: 900;
  }

  body.ppob-storefront .ppob-app-wallet-actions a small {
    color: #fff;
    font-size: 10px;
    font-weight: 900;
  }

  body.ppob-storefront .ppob-app-sheet {
    position: relative;
    margin-top: -18px;
    padding: 20px 16px 18px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    background: #fff;
  }

  body.ppob-storefront .ppob-app-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #321071;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
  }

  body.ppob-storefront .ppob-app-alert span {
    font-size: 22px;
  }

  body.ppob-storefront .ppob-app-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 14px;
  }

  body.ppob-storefront .ppob-app-menu-item {
    min-width: 0 !important;
    min-height: 78px !important;
    height: auto !important;
    display: grid !important;
    place-items: center !important;
    align-content: start !important;
    gap: 7px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    box-shadow: none !important;
  }

  body.ppob-storefront .ppob-app-menu-item span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(80, 36, 180, 0.10);
  }

  body.ppob-storefront .ppob-app-menu-item small {
    max-width: 72px;
    color: #111827;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
  }

  body.ppob-storefront .ppob-app-menu-item .is-purple { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
  body.ppob-storefront .ppob-app-menu-item .is-red { background: linear-gradient(135deg, #ff8ca0, #ef4444); }
  body.ppob-storefront .ppob-app-menu-item .is-green { background: linear-gradient(135deg, #86efac, #16a34a); }
  body.ppob-storefront .ppob-app-menu-item .is-lime { background: linear-gradient(135deg, #d9f99d, #84cc16); }
  body.ppob-storefront .ppob-app-menu-item .is-magenta { background: linear-gradient(135deg, #f0abfc, #c026d3); }
  body.ppob-storefront .ppob-app-menu-item .is-orange { background: linear-gradient(135deg, #fed7aa, #f97316); }
  body.ppob-storefront .ppob-app-menu-item .is-yellow { background: linear-gradient(135deg, #fde68a, #f59e0b); }
  body.ppob-storefront .ppob-app-menu-item .is-violet { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }

  body.ppob-storefront .ppob-store-section-first {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 0 0 24px !important;
    background: #fff !important;
  }

  body.ppob-storefront .ppob-store-section-first > .container {
    width: 100% !important;
    max-width: 430px !important;
    padding: 0 16px !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider {
    margin: 0 0 16px !important;
    border-radius: 15px !important;
    box-shadow: none !important;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider::before,
  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider::after {
    content: "";
    display: block;
    height: 8px;
    margin: 0 -16px 10px;
    background: #f4f4f4;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-slider::after {
    margin: 10px -16px 0;
  }

  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-banner-photo {
    aspect-ratio: 16 / 6.2 !important;
    border-radius: 15px !important;
    object-fit: cover !important;
  }

  body.ppob-storefront .ppob-catalog-heading {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.ppob-storefront .ppob-catalog-heading::after,
  body.ppob-storefront .ppob-catalog-kicker,
  body.ppob-storefront .ppob-catalog-tabs,
  body.ppob-storefront .ppob-category-route-hint {
    display: none !important;
  }

  body.ppob-storefront .ppob-catalog-heading h2 {
    margin: 0 0 12px !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  body.ppob-storefront .ppob-visible-subfilter {
    margin: 0 -16px 12px !important;
    padding: 0 16px 10px !important;
  }

  body.ppob-storefront .ppob-product-grid {
    gap: 10px !important;
    padding-bottom: 0 !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-order-hero-section {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 0 24px !important;
    background: #f5f6fb !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-order-hero-section > .container {
    width: 100% !important;
    max-width: 430px !important;
    padding: 0 12px !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-summary {
    display: none !important;
  }

  body:is(.ppob-order-page, .checkout-page, .checkout-status-page) .ppob-panel {
    min-height: calc(100dvh - 110px);
    border-radius: 24px !important;
  }

  body:is(.ppob-order-page, .checkout-page) .ppob-precheckout-footer,
  body.checkout-page .checkout-action-row {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.ppob-storefront .ppob-app-bottom-nav {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 1000;
    width: min(100%, 430px);
    min-height: calc(72px + env(safe-area-inset-bottom, 0px));
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 30px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }

  body.ppob-storefront .ppob-app-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 4px;
  }

  body.ppob-storefront .ppob-app-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    color: #7c6f95;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
  }

  body.ppob-storefront .ppob-app-bottom-nav a span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: inherit;
    font-size: 22px;
    line-height: 1;
  }

  body.ppob-storefront .ppob-app-bottom-nav a small {
    color: inherit;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1;
  }

  body.ppob-storefront .ppob-app-bottom-nav a.is-active {
    color: #6c2bd9;
  }

  body.ppob-storefront .ppob-app-bottom-nav .ppob-app-bottom-main {
    margin-top: -30px;
  }

  body.ppob-storefront .ppob-app-bottom-nav .ppob-app-bottom-main span {
    width: 58px;
    height: 58px;
    border: 1px solid #6c2bd9;
    border-radius: 999px;
    background: #f5efff;
    color: #6c2bd9;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(108, 43, 217, 0.18);
  }
}

/* v144 final lock: keep GreatTech colors white + orange and remove leftover web sections on mobile. */
@media (max-width: 820px) {
  body.ppob-storefront {
    --app-orange: #f26e22;
    --app-orange-soft: #fff3ea;
    --app-ink: #172033;
    --app-muted: #667085;
    --app-line: #e6edf5;
    background: #eef3f8 !important;
  }

  body.ppob-storefront .ppob-app-home {
    background: #ffffff !important;
    color: var(--app-ink) !important;
  }

  body.ppob-storefront .ppob-app-top {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 24px !important;
    background:
      radial-gradient(circle at 88% 38%, rgba(242, 110, 34, 0.18) 0 42px, transparent 43px),
      linear-gradient(180deg, #ffffff 0%, #fff6ef 100%) !important;
  }

  body.ppob-storefront .ppob-app-statusbar {
    color: var(--app-orange) !important;
    opacity: 1 !important;
  }

  body.ppob-storefront .ppob-app-brand-row strong {
    color: var(--app-ink) !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
  }

  body.ppob-storefront .ppob-app-promo-chip {
    background: #ffffff !important;
    color: var(--app-orange) !important;
    border: 1px solid rgba(242, 110, 34, 0.22) !important;
    box-shadow: 0 8px 20px rgba(242, 110, 34, 0.12) !important;
  }

  body.ppob-storefront .ppob-app-promo-chip::before {
    content: "+" !important;
    background: var(--app-orange) !important;
    color: #ffffff !important;
  }

  body.ppob-storefront .ppob-app-wallet-card {
    min-height: 150px !important;
    background:
      radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.22) 0 28px, transparent 29px),
      radial-gradient(circle at 55% 0%, rgba(255, 255, 255, 0.16) 0 70px, transparent 71px),
      linear-gradient(135deg, #ff7a2f, #f26e22) !important;
    box-shadow: 0 18px 36px rgba(242, 110, 34, 0.24) !important;
  }

  body.ppob-storefront .ppob-app-points {
    color: var(--app-orange) !important;
  }

  body.ppob-storefront .ppob-app-wallet-actions a span {
    color: var(--app-orange) !important;
  }

  body.ppob-storefront .ppob-app-sheet {
    margin-top: -14px !important;
    background: #ffffff !important;
    box-shadow: 0 -10px 24px rgba(17, 24, 39, 0.04) !important;
  }

  body.ppob-storefront .ppob-app-alert {
    color: var(--app-ink) !important;
  }

  body.ppob-storefront .ppob-app-alert span {
    width: 34px !important;
    height: 34px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: var(--app-orange-soft) !important;
    color: var(--app-orange) !important;
    font-size: 18px !important;
  }

  body.ppob-storefront .ppob-app-menu-grid {
    gap: 16px 10px !important;
  }

  body.ppob-storefront .ppob-app-menu-item.ppob-shortcut-button,
  body.ppob-storefront .ppob-app-menu-item.ppob-shortcut-button.is-active,
  body.ppob-storefront .ppob-app-menu-item.ppob-shortcut-button.active,
  body.ppob-storefront .ppob-app-menu-item.ppob-shortcut-button:hover,
  body.ppob-storefront .ppob-app-menu-item.ppob-shortcut-button:focus {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 76px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--app-ink) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  body.ppob-storefront .ppob-app-menu-item span,
  body.ppob-storefront .ppob-app-menu-item .is-purple,
  body.ppob-storefront .ppob-app-menu-item .is-red,
  body.ppob-storefront .ppob-app-menu-item .is-green,
  body.ppob-storefront .ppob-app-menu-item .is-lime,
  body.ppob-storefront .ppob-app-menu-item .is-magenta,
  body.ppob-storefront .ppob-app-menu-item .is-orange,
  body.ppob-storefront .ppob-app-menu-item .is-yellow,
  body.ppob-storefront .ppob-app-menu-item .is-violet {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid rgba(242, 110, 34, 0.18) !important;
    background: var(--app-orange-soft) !important;
    color: var(--app-orange) !important;
    box-shadow: 0 8px 18px rgba(242, 110, 34, 0.10) !important;
  }

  body.ppob-storefront .ppob-app-menu-item small {
    color: var(--app-ink) !important;
  }

  body.ppob-storefront .ppob-store-section-first {
    background: #ffffff !important;
  }

  body.ppob-storefront .ppob-catalog-heading,
  body.ppob-storefront .ppob-catalog-kicker,
  body.ppob-storefront .ppob-catalog-heading h2,
  body.ppob-storefront .ppob-catalog-tabs,
  body.ppob-storefront .ppob-visible-subfilter,
  body.ppob-storefront .ppob-category-route-hint {
    display: none !important;
  }

  body.ppob-storefront .ppob-product-grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 0 !important;
    padding-top: 34px !important;
  }

  body.ppob-storefront .ppob-product-grid::before {
    content: "Rekomendasi Pilihan";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--app-ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.3;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card,
  body.ppob-storefront:not(.ppob-order-page):not(.checkout-page):not(.checkout-status-page) .ppob-product-grid .ppob-product-card {
    width: 100% !important;
    min-height: 76px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 28px !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 13px 12px !important;
    border: 1px solid var(--app-line) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05) !important;
    text-align: left !important;
    transform: none !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card:has(.ppob-product-card-visual.has-image) {
    grid-template-columns: 54px minmax(0, 1fr) 28px !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card::after {
    content: "›" !important;
    grid-column: -2 / -1 !important;
    grid-row: 1 !important;
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: var(--app-orange-soft) !important;
    color: var(--app-orange) !important;
    font-size: 24px !important;
    font-weight: 900 !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    display: grid !important;
    align-content: center !important;
    gap: 3px !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card:has(.ppob-product-card-visual.has-image) .ppob-product-card-copy {
    grid-column: 2 !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card h3 {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--app-ink) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card p {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--app-orange) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
  }

  body.ppob-storefront .ppob-product-grid :is(.ppob-product-fallback, .ppob-product-thumb, .ppob-product-fallback-icon) {
    display: none !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card-visual {
    display: none !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card-visual.has-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 54px !important;
    height: 54px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
  }

  body.ppob-storefront .ppob-product-grid .ppob-product-card-visual.has-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }

  body.ppob-storefront .ppob-store-benefits {
    display: none !important;
  }

  body.ppob-storefront .ppob-app-bottom-nav a.is-active,
  body.ppob-storefront .ppob-app-bottom-nav .ppob-app-bottom-main,
  body.ppob-storefront .ppob-app-bottom-nav .ppob-app-bottom-main span {
    color: var(--app-orange) !important;
    border-color: rgba(242, 110, 34, 0.32) !important;
  }

  body.ppob-storefront .ppob-app-bottom-nav .ppob-app-bottom-main span {
    background: #ffffff !important;
    box-shadow: 0 12px 24px rgba(242, 110, 34, 0.20) !important;
  }
}
