/* =====================================================================
   IPOO Premium Notification — notification.css
   Modern commerce-style floating toasts for the app.
   - Warm orange / peach palette inspired by storefront retail UX
   - White cards with soft depth and crisp typography
   - Works with the existing NP.show(type, title, message, options) API
   ===================================================================== */

:root {
  --np-ease: cubic-bezier(.16, 1, .3, 1);
  --np-shadow: 0 18px 42px rgba(17, 24, 39, 0.08), 0 8px 18px rgba(17, 24, 39, 0.03);
  --np-brand: var(--md-primary, #ff4d00);
  --np-brand-soft: #fff3ee;
  --np-brand-warm: var(--md-primary-light, #ff7a1a);
  --np-ivory: #fffdf9;
  --np-stone: #5b655f;
  --np-line: rgba(15, 23, 42, 0.06);
}

#np-snack-wrap {
  position: fixed;
  top: max(74px, calc(env(safe-area-inset-top, 0px) + 18px));
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%);
  margin: 0 auto;
  z-index: 90;
  width: min(340px, calc(100% - 18px)) !important;
  max-width: calc(100% - 18px) !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  pointer-events: none;
}

#screen-home {
  position: relative;
}

.loyalty-strip {
  position: relative;
}

#np-snack-wrap .np-card {
  pointer-events: auto;
}

.np-card {
  position: relative;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.995) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid var(--np-line);
  border-radius: 20px;
  padding: 14px 14px 12px;
  box-shadow: var(--np-shadow);
  opacity: 0;
  transform: translate3d(10px, -10px, 0) scale(.985);
  transition: opacity .26s var(--np-ease), transform .26s var(--np-ease);
  will-change: opacity, transform;
  overflow: hidden;
}

.np-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(255, 77, 0, 0.9) 0%, rgba(255, 137, 71, 0.75) 100%);
}

.np-card.show {
  opacity: 1;
  transform: none;
}

.np-card.dismiss {
  opacity: 0;
  transform: translate3d(10px, -10px, 0) scale(.98);
  transition: opacity .18s var(--np-ease), transform .18s var(--np-ease);
}

.np-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.np-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(41, 74, 61, 0.07), rgba(136, 116, 90, 0.05));
  color: var(--np-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.np-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.np-title {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.25px;
  color: #1e2824;
  line-height: 1.3;
}

.np-action {
  flex-shrink: 0;
  border: none;
  background: linear-gradient(180deg, var(--md-primary, #ff4d00) 0%, var(--md-primary-light, #ff6a1a) 100%);
  color: var(--md-on-primary, #fff);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.02em;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s var(--np-ease), filter .2s var(--np-ease), box-shadow .2s var(--np-ease);
  box-shadow: 0 8px 16px rgba(255, 77, 0, 0.18);
}

.np-action:hover { filter: brightness(.98); }
.np-action:active { transform: scale(.97); }

.np-close {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border: none;
  border-radius: 8px;
  background: rgba(17, 24, 39, 0.03);
  color: rgba(60, 71, 66, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: background .2s var(--np-ease), transform .2s var(--np-ease), color .2s var(--np-ease), opacity .2s var(--np-ease);
}

.np-close:hover {
  background: rgba(17, 24, 39, 0.06);
  color: #33413d;
  opacity: 1;
}

.np-close:active { transform: scale(.94); }

.np-close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.np-message {
  margin: 6px 0 0 48px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--np-stone);
}

.np-progress {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--np-line);
}

.np-progress-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(41, 74, 61, 0.08);
  overflow: hidden;
}

.np-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4d00 0%, #ff8a3d 100%);
  transform-origin: left center;
  animation: npShrink var(--np-duration, 3500ms) linear forwards;
}

.np-card.pause .np-progress-fill { animation-play-state: paused; }

@keyframes npShrink {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 420px) {
  #np-snack-wrap {
    left: 50%;
    transform: translateX(-50%);
    width: min(340px, calc(100vw - 18px));
  }

  .np-card {
    padding: 10px 12px 9px;
    border-radius: 16px;
  }
}

/* Home top bar joins the same premium header family while retaining its logo row. */
html body #screen-home .topbar {
  min-height: 68px !important;
  height: 68px !important;
  box-sizing: border-box !important;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px !important;
  background: #fce7e3 !important;
  border-bottom: 1px solid rgba(120, 75, 40, 0.12) !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 8px 24px rgba(65, 35, 18, 0.06) !important;
}

html body #screen-home .topbar > button.icon-btn,
html body #screen-home .topbar > .icon-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(232, 117, 34, 0.16) !important;
  background: #ffffff !important;
  color: #21140d !important;
  box-shadow: 0 6px 14px rgba(65, 35, 18, 0.07) !important;
}

@media (max-width: 420px) {
  html body #screen-home .topbar {
    min-height: 64px !important;
    height: 64px !important;
    padding-inline: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .np-card,
  .np-card.show,
  .np-card.dismiss {
    transition: none;
    transform: none;
  }

  .np-progress-fill { animation: none; }
}

/* Unified premium ecommerce headings. Category pages keep their own visual language. */
html body :where(:not(#sc-catpage)) > .section-title,
html body :where(:not(#sc-catpage)) .section-title,
html body :where(:not(#sc-catpage)) .topbar-title,
html body :where(:not(#sc-catpage)) .bar-title,
html body :where(:not(#sc-catpage)) .tbar-title,
html body :where(:not(#sc-catpage)) .heading,
html body :where(:not(#sc-catpage)) .title,
html body :where(:not(#sc-catpage)) .section-card-title,
html body :where(:not(#sc-catpage)) .co-section-header h2,
html body :where(:not(#sc-catpage)) .help-hero h2,
html body :where(:not(#sc-catpage)) .about-sec h3,
html body :where(:not(#sc-catpage)) .prof-info h3,
html body :where(:not(#sc-catpage)) h1,
html body :where(:not(#sc-catpage)) h2,
html body :where(:not(#sc-catpage)) h3,
html body :where(:not(#sc-catpage)) h4,
html body :where(:not(#sc-catpage)) h5,
html body :where(:not(#sc-catpage)) h6 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #21140d !important;
}

html body :where(:not(#sc-catpage)) .section-title,
html body :where(:not(#sc-catpage)) .topbar-title,
html body :where(:not(#sc-catpage)) .bar-title,
html body :where(:not(#sc-catpage)) .tbar-title,
html body :where(:not(#sc-catpage)) .heading,
html body :where(:not(#sc-catpage)) .title,
html body :where(:not(#sc-catpage)) .section-card-title,
html body :where(:not(#sc-catpage)) h1,
html body :where(:not(#sc-catpage)) h2,
html body :where(:not(#sc-catpage)) h3,
html body :where(:not(#sc-catpage)) h4,
html body :where(:not(#sc-catpage)) h5,
html body :where(:not(#sc-catpage)) h6 {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

html body .screen:not(#sc-catpage) .section-title,
html body .screen:not(#sc-catpage) .topbar-title,
html body .screen:not(#sc-catpage) .bar-title,
html body .screen:not(#sc-catpage) .tbar-title,
html body .screen:not(#sc-catpage) .heading,
html body .screen:not(#sc-catpage) .title,
html body .screen:not(#sc-catpage) .section-card-title,
html body .screen:not(#sc-catpage) h1,
html body .screen:not(#sc-catpage) h2,
html body .screen:not(#sc-catpage) h3,
html body .screen:not(#sc-catpage) h4,
html body .screen:not(#sc-catpage) h5,
html body .screen:not(#sc-catpage) h6 {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

html body .screen:not(#sc-catpage) .tbar.dark .tbar-title.w,
html body .screen:not(#sc-catpage) .top-app-bar .bar-title,
html body .screen:not(#sc-catpage) .section-title,
html body .screen:not(#sc-catpage) .heading,
html body .screen:not(#sc-catpage) .title,
html body .screen:not(#sc-catpage) h1,
html body .screen:not(#sc-catpage) h2,
html body .screen:not(#sc-catpage) h3,
html body .screen:not(#sc-catpage) h4,
html body .screen:not(#sc-catpage) h5,
html body .screen:not(#sc-catpage) h6 {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

html body :where(:not(#sc-catpage)) .section-header,
html body :where(:not(#sc-catpage)) .co-section-header {
  position: relative;
}

html body :where(:not(#sc-catpage)) .section-header .section-title::after,
html body :where(:not(#sc-catpage)) .co-section-header h2::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  margin-top: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8500a, #f7a15b);
}

/* Category pages intentionally retain their existing serif heading treatment. */
#sc-catpage .section-title,
#sc-catpage .cat-top-title {
  font-family: 'Instrument Serif', serif !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: 0.15px !important;
  color: #1b1109 !important;
}

#sc-catpage .section-title {
  font-size: 20px !important;
  line-height: 1.1 !important;
}

#sc-catpage h1,
#sc-catpage h2,
#sc-catpage h3,
#sc-catpage h4,
#sc-catpage h5,
#sc-catpage h6 {
  font-family: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}

/* Final heading contract: every heading uses one premium 20px scale. */
html body #shell .screen h1,
html body #shell .screen h2,
html body #shell .screen h3,
html body #shell .screen h4,
html body #shell .screen h5,
html body #shell .screen h6,
html body #shell .screen .section-title,
html body #shell .screen .topbar-title,
html body #shell .screen .bar-title,
html body #shell .screen .tbar-title,
html body #shell .screen .heading,
html body #shell .screen .title,
html body #shell .screen .section-card-title,
html body #shell .screen .section-heading,
html body #shell .screen .section-header-title,
html body #shell .screen .summary-heading,
html body #shell .screen .success-title,
html body #shell .screen .detail-title,
html body #shell .screen .cart-empty-title,
html body #shell .screen .ord3-title,
html body #shell .screen .cat-page-title,
html body #shell .screen .cat-top-title,
html body #shell .screen .help-hero h2,
html body #shell .screen .about-sec h3,
html body #shell .screen .prof-info h3,
html body #shell .screen .co-section-header h2 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #21140d !important;
}

html body #sc-help h1,
html body #sc-help .help-hero h1,
html body #sc-points-info h3,
html body #sc-points-info h3[style],
html body #sc-help .scroll > div:first-child h1 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #21140d !important;
}

html body #shell .screen#sc-addresses > .tbar,
html body #shell .screen#sc-language > .tbar,
html body #shell .screen#sc-notif > .tbar,
html body #shell .screen#sc-help > .tbar,
html body #shell .screen#sc-points-info > .tbar,
html body #shell .screen#sc-order-detail > .tbar {
  background-color: #6f2b0d !important;
  background-image: linear-gradient(110deg, #1c1410 0%, #6f2b0d 62%, #e8500a 145%) !important;
  border-bottom: 0 !important;
}

html body #sc-addresses .tbar.dark,
html body #sc-language .tbar.dark,
html body #sc-notif .tbar.dark,
html body #sc-help .tbar.dark,
html body #sc-points-info .tbar.dark,
html body #sc-order-detail .tbar.dark {
  background: linear-gradient(110deg, #1c1410 0%, #6f2b0d 62%, #e8500a 145%) !important;
  border-bottom: 0 !important;
}

html body #sc-addresses .tbar.dark .tbar-title.w,
html body #sc-language .tbar.dark .tbar-title.w,
html body #sc-notif .tbar.dark .tbar-title.w,
html body #sc-help .tbar.dark .tbar-title.w,
html body #sc-points-info .tbar.dark .tbar-title.w,
html body #sc-order-detail .tbar.dark .tbar-title.w,
html body #sc-addresses .tbar.dark .back-btn,
html body #sc-language .tbar.dark .back-btn,
html body #sc-notif .tbar.dark .back-btn,
html body #sc-help .tbar.dark .back-btn,
html body #sc-points-info .tbar.dark .back-btn,
html body #sc-order-detail .tbar.dark .back-btn {
  color: #fff !important;
}

/* Storefront mastheads: kept for #screen-cart only — #screen-products excluded to keep 100% verbatim spec */
html body #screen-cart > .top-app-bar {
  position: relative;
  min-height: 82px !important;
  height: auto !important;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px !important;
  background: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  border: 0 !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
  z-index: 20;
}

html body #screen-cart > .top-app-bar::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

html body #screen-cart > .top-app-bar > .icon-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
}

html body #screen-cart > .top-app-bar > .icon-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}









html body #screen-products #cat-chips {
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  gap: 8px !important;
  padding: 14px 16px 12px !important;
  background: #FFF8F6 !important;
  border-bottom: 1px solid rgba(28, 20, 16, 0.08) !important;
}

html body #screen-products #cat-chips .filter-chip {
  min-height: 36px;
  padding: 0 14px !important;
  border: 1px solid rgba(28, 20, 16, 0.12) !important;
  border-radius: 999px !important;
  background: var(--md-surface-2) !important;
  color: #6b6259 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

html body #screen-products #cat-chips .filter-chip.active {
  border-color: #e8500a !important;
  background: #e8500a !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(232, 80, 10, 0.22) !important;
}

html body #screen-cart > .top-app-bar .bar-title {
  position: relative;
  overflow: visible !important;
  z-index: 2 !important;
  flex: 1;
  min-width: 0;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
}

html body #ord3-topbar #ord3-title {
  position: relative !important;
  overflow: visible !important;
  z-index: 2 !important;
}

html body #screen-cart > .top-app-bar .cart-clear-btn {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body #screen-cart > .top-app-bar .cart-clear-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

html body #screen-products .scroll-body,
html body #screen-cart .scroll-body {
  background: #FFF8F6 !important;
}

@media (max-width: 430px) {
  html body #screen-cart > .top-app-bar {
    min-height: 76px !important;
    padding: 12px 12px 14px !important;
  }


  html body #screen-products #cat-chips { padding-right: 12px !important; padding-left: 12px !important; }
}

html body #sc-points-info .scroll > div:nth-child(3) h3 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #21140d !important;
}

/* Final Home masthead and brand headline contract. */
html body #screen-home .topbar > .topbar-logo,
html body #sc-about .about-word,
html body .receipt-logo {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

html body #screen-home > .topbar {
  min-height: 68px !important;
  height: 68px !important;
  box-sizing: border-box !important;
  background: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  border-bottom: 0 !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
}

html body #screen-home > .topbar > .topbar-logo {
  position: relative !important;
  color: #fff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.04em !important;
}

html body #screen-home > .topbar > .topbar-logo span {
  color: #ffb070 !important;
}

html body #screen-home .home-section-heading {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 0 4px !important;
  color: var(--md-on-surface) !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

html body #screen-home .home-section-heading::after {
  content: '' !important;
  display: block !important;
  width: 28px !important;
  height: 3px !important;
  margin-top: 7px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #e8500a, #f7a15b) !important;
}

html body #shell .screen > .tbar .tbar-title,
html body #shell .screen > .top-app-bar .bar-title,
html body #ord3-topbar #ord3-title {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

html body #sc-catpage .cat-top-title {
  color: #fff !important;
}

html body #screen-home > .topbar .icon-btn {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

html body #sc-profile .scroll > div:first-child {
  background: linear-gradient(145deg, #21140d 0%, #3b1f12 58%, #6c3214 100%) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 34px rgba(84, 48, 26, 0.18) !important;
}

html body #sc-profile .scroll > div:first-child #p-name {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

/* Receipt masthead: warm luxury stationery, not a generic dark dashboard card. */
html body #sc-receipt .receipt-header-section.receipt-premium {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-height: 132px !important;
  box-sizing: border-box !important;
  padding: 24px 22px !important;
  overflow: hidden !important;
  border: 1px solid rgba(232, 117, 34, 0.18) !important;
  border-radius: 24px 24px 8px 8px !important;
  background: linear-gradient(135deg, #fffaf7 0%, #fce7e3 66%, #f7c5a7 100%) !important;
  color: #21140d !important;
  box-shadow: 0 16px 34px rgba(84, 48, 26, 0.1) !important;
}

html body #sc-receipt .receipt-header-section.receipt-premium::after {
  content: '' !important;
  position: absolute !important;
  right: -34px !important;
  top: -42px !important;
  width: 150px !important;
  height: 150px !important;
  border: 1px solid rgba(232, 117, 34, 0.16) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 18px rgba(232, 117, 34, 0.04), 0 0 0 36px rgba(232, 117, 34, 0.03) !important;
  pointer-events: none !important;
}

html body #sc-receipt .receipt-header-brand,
html body #sc-receipt .receipt-header-actions {
  position: relative !important;
  z-index: 1 !important;
}

html body #sc-receipt .receipt-header-brand {
  gap: 5px !important;
}

html body #sc-receipt .receipt-logo {
  font-family: 'Parisienne', 'Satisfy', cursive !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  line-height: 0.95 !important;
  letter-spacing: 0 !important;
  color: #21140d !important;
}

html body #sc-receipt .receipt-logo-sub {
  color: #8c5b43 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
}

html body #sc-receipt .receipt-header-actions {
  align-items: flex-end !important;
  gap: 7px !important;
}

html body #sc-receipt .receipt-badge {
  padding: 8px 11px !important;
  border: 1px solid rgba(232, 117, 34, 0.2) !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  letter-spacing: 0.08em !important;
}

html body #sc-receipt .receipt-badge-light {
  background: rgba(255, 255, 255, 0.68) !important;
  color: #6f422d !important;
}

html body #sc-receipt .receipt-badge-status {
  background: #e8500a !important;
  border-color: #e8500a !important;
  color: #ffffff !important;
}

/* Actual live receipt renderer: .rct-head. */
html body #sc-receipt .rct-head {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
  min-height: 112px !important;
  box-sizing: border-box !important;
  padding: 22px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #fffaf7 0%, #fce7e3 66%, #f7c5a7 100%) !important;
  border-bottom: 1px solid rgba(232, 117, 34, 0.18) !important;
  color: #21140d !important;
}

html body #sc-receipt .rct-head::after {
  content: '' !important;
  position: absolute !important;
  right: -42px !important;
  top: -48px !important;
  width: 150px !important;
  height: 150px !important;
  border: 1px solid rgba(232, 117, 34, 0.16) !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 18px rgba(232, 117, 34, 0.04), 0 0 0 36px rgba(232, 117, 34, 0.03) !important;
  pointer-events: none !important;
}

html body #sc-receipt .rct-head-ico {
  position: relative !important;
  z-index: 1 !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  border-radius: 15px !important;
  background: #e8500a !important;
  box-shadow: 0 8px 16px rgba(232, 80, 10, 0.22) !important;
}

html body #sc-receipt .rct-head-brand,
html body #sc-receipt .rct-head-sub {
  position: relative !important;
  z-index: 1 !important;
}

html body #sc-receipt .rct-head-brand {
  margin: 0 !important;
  color: #21140d !important;
  font-family: 'Parisienne', 'Satisfy', cursive !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  line-height: 0.95 !important;
  letter-spacing: 0 !important;
}

html body #sc-receipt .rct-head-sub {
  margin: 4px 0 0 !important;
  color: #8c5b43 !important;
  font: 700 10px/1.3 'DM Sans', sans-serif !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase !important;
}

/* Premium top-bar contract. Products keeps its search-specific geometry. */
html body #shell .screen > .tbar,
html body #shell .screen > .top-app-bar:not(#screen-products .top-app-bar),
html body #shell .screen > .top-app-bar.center-aligned,
html body #ord3-topbar {
  min-height: 68px !important;
  height: 68px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px !important;
  background: #fce7e3 !important;
  border-bottom: 1px solid rgba(120, 75, 40, 0.12) !important;
  box-shadow: 0 8px 24px rgba(65, 35, 18, 0.06) !important;
}

html body #shell .screen > .tbar > .back-btn,
html body #shell .screen > .tbar > .icon-btn,
html body #shell .screen > .top-app-bar:not(#screen-products .top-app-bar) > .icon-btn,
html body #shell .screen > .top-app-bar.center-aligned > .icon-btn,
html body #ord3-topbar .ord3-back,
html body #ord3-topbar .ord3-top-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  flex: 0 0 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 14px !important;
  border: 1px solid rgba(232, 117, 34, 0.16) !important;
  background: #ffffff !important;
  color: #21140d !important;
  box-shadow: 0 6px 14px rgba(65, 35, 18, 0.07) !important;
}

html body #shell .screen > .tbar .tbar-title,
html body #shell .screen > .top-app-bar .bar-title,
html body #shell .screen > .top-app-bar.center-aligned .bar-title,
html body #ord3-topbar #ord3-title {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 8px !important;
  overflow: hidden !important;
  text-align: center !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: #21140d !important;
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 420px) {
  html body #shell .screen > .tbar,
  html body #shell .screen > .top-app-bar:not(#screen-products .top-app-bar),
  html body #ord3-topbar {
    min-height: 64px !important;
    height: 64px !important;
    padding-inline: 10px !important;
  }
}

/* Final top-bar contract: every non-category page uses the same orange underline accent. */
html body #screen-home > .topbar > .topbar-logo,
html body #sc-catpage > .top-app-bar #catpage-title,
html body #screen-top-sellers > .top-app-bar .section-title,
html body #shell .screen:not(#sc-catpage) > .tbar .tbar-title,
html body #shell .screen:not(#sc-catpage) > .top-app-bar .bar-title,
html body #shell .screen:not(#sc-catpage) > .top-app-bar .section-title,
html body #sc-orders > #ord3-topbar #ord3-title {
  position: relative !important;
  overflow: visible !important;
  z-index: 2 !important;
}

html body #screen-home > .topbar > .topbar-logo::after,
html body #sc-catpage > .top-app-bar #catpage-title::after,
html body #screen-top-sellers > .top-app-bar .section-title::after,
html body #shell .screen:not(#sc-catpage) > .tbar .tbar-title::after,
html body #shell .screen:not(#sc-catpage) > .tbar .tbar-title.w::after,
html body #shell .screen:not(#sc-catpage):not(#screen-detail) > .top-app-bar .bar-title::after,
html body #shell .screen:not(#sc-catpage) > .top-app-bar .section-title::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: -10px !important;
  width: 28px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #e8500a, #f7a15b) !important;
  transform: translateX(-50%) !important;
}

html body #sc-orders .top-heading-underline {
  position: static !important;
  display: block !important;
  width: 28px !important;
  height: 3px !important;
  margin: 7px auto 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #e8500a, #f7a15b) !important;
  transform: none !important;
}

html body #screen-detail > .top-app-bar .bar-title::after {
  display: none !important;
}

html body #screen-detail > .top-app-bar .top-heading-underline {
  position: static !important;
  display: block !important;
  width: 28px !important;
  height: 3px !important;
  margin: 7px auto 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #e8500a, #f7a15b) !important;
}

html body #screen-detail > .top-app-bar .bar-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  overflow: visible !important;
  z-index: 2 !important;
}

html body #sc-orders > #ord3-topbar #ord3-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

html body #shell #screen-cart.screen.active > .top-app-bar > .bar-title {
  overflow: visible !important;
  z-index: 2 !important;
}

html body #sc-orders > #ord3-topbar #ord3-title-text {
  color: #fff !important;
}

html body #shell .screen:not(#sc-catpage) > .tbar.dark,
html body #shell .screen:not(#sc-catpage) > .top-app-bar,
html body #sc-orders > #ord3-topbar {
  border-radius: 0 !important;
  border-bottom: 1px solid var(--md-outline-variant) !important;
}

html body #screen-products > .top-app-bar .search-full-bar,
html body #screen-top-sellers > .top-app-bar .search-full-bar,
html body #screen-popular > .top-app-bar .search-full-bar {
  min-height: 48px !important;
  height: 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Category top bars use the same brown-orange masthead as Orders. */
html body #shell #sc-catpage.screen.active > .top-app-bar {
  background: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  background-image: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  border-bottom: 0 !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
}

html body #shell #sc-catpage.screen.active > .top-app-bar .cat-top-kicker,
html body #shell #sc-catpage.screen.active > .top-app-bar #catpage-title,
html body #shell #sc-catpage.screen.active > .top-app-bar > .icon-btn,
html body #shell #sc-catpage.screen.active > .top-app-bar > #cat-search-toggle-btn {
  color: #fff !important;
}

html body #shell #sc-catpage.screen.active > .top-app-bar > .icon-btn {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}

html body #shell #sc-catpage.screen.active > .top-app-bar > .icon-btn svg {
  color: #fff !important;
  fill: #fff !important;
}
