html body #screen-cart > .top-app-bar,
html body #screen-checkout > .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;
  background-color: #1c1410 !important;
  border-bottom: 0 !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
}
/* Products screen search bar — 100% like provided block */
.search-full-bar{
  background:transparent;
  margin:0 16px;
  height:56px;
  border-radius:var(--md-shape-full);
  display:flex;align-items:center;
  padding:0 8px;
  gap:4px;
  box-shadow:0 2px 6px rgba(0,0,0,.14);
}
.search-full-bar input{flex:1;border:none;outline:none;background:transparent;font-size:16px;color:var(--md-on-surface);padding:0 8px;}
.search-full-bar input::placeholder{color:var(--md-on-surface-var);}

.floating-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--md-primary);
  color: #fff !important;
  font-weight: 900;
  font-size: 16px;
  min-width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--md-surface-2);
  border-radius: 50%;
}

#screen-products .top-app-bar--products {
  padding: 8px 8px 0;
}

#screen-products .search-bar-wrap {
  flex: 1;
  padding: 0 8px 8px 0;
}

#screen-products .icon-btn--muted {
  color: var(--md-on-surface-var);
}

/* Match the homepage top treatment everywhere except category pages. */
html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar {
  height: 64px !important;
  min-height: 64px !important;
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  background: var(--md-surface-4) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--md-outline-variant) !important;
  box-shadow: none !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar > .icon-btn,
html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar .icon-btn {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #2b2b2b !important;
  box-shadow: none !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar > .icon-btn:hover,
html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar .icon-btn:hover {
  background: #fff3eb !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar > .icon-btn svg,
html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar .icon-btn svg {
  color: currentColor !important;
  fill: currentColor !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar .bar-title,
html body #shell .screen:not(#screen-home):not(#sc-catpage) > .top-app-bar .section-title {
  color: var(--md-on-surface) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

/* Shared pill treatment for non-home screens with a search field. */
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#screen-products) .search-full-bar {
  height: 56px !important;
  min-height: 56px !important;
  box-sizing: border-box !important;
  border-radius: var(--md-shape-full) !important;
  background: var(--md-surface-4) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#screen-products) .search-full-bar:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* The input and icon share this single search surface. */
html body #shell #screen-products#screen-products .search-full-bar {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 999px !important;
  background: #fff8f5 !important;
  box-shadow: 0 3px 12px rgba(16, 9, 6, 0.18) !important;
  transition: border-color 160ms ease, box-shadow 160ms ease !important;
}

html body #shell #screen-products#screen-products .search-full-bar:hover {
  box-shadow: 0 4px 14px rgba(16, 9, 6, 0.2) !important;
}

html body #shell #screen-products#screen-products .search-full-bar:focus-within {
  border-color: #ff9a63 !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.2), 0 3px 12px rgba(16, 9, 6, 0.18) !important;
}

/* Products top bar matches the homepage masthead proportions and endpoints. */
html body #shell .screen#screen-products#screen-products > .top-app-bar--products {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 82px !important;
  min-height: 82px !important;
  height: 82px !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  gap: 8px !important;
  overflow: hidden !important;
  border-radius: 0 0 24px 24px !important;
  border-bottom: 0 !important;
  background: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
}

html body #shell #screen-products#screen-products > .top-app-bar--products > .icon-btn:first-child {
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 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;
}

html body #shell #screen-products#screen-products > .top-app-bar--products > .icon-btn:first-child svg {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor !important;
}

html body #shell #screen-products#screen-products > .top-app-bar--products > .icon-btn:first-child:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

html body #shell #screen-products#screen-products .search-bar-wrap {
  min-width: 0 !important;
  padding: 0 !important;
}

html body #shell #screen-products#screen-products .search-full-bar input,
html body #shell #screen-products#screen-products .search-full-bar input:focus {
  appearance: none !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1c0e06 !important;
  caret-color: #d14500 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
}

html body #shell #screen-products#screen-products .search-full-bar input::placeholder {
  color: #857370 !important;
  opacity: 1 !important;
}

html body #shell #screen-products#screen-products .products-search-icon {
  display: grid !important;
  flex: 0 0 20px !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  color: #75665f !important;
}

html body #shell #screen-products#screen-products .products-search-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
}

/* Unified masthead for every page except the untouched homepage and categories. */
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .top-app-bar,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .tbar,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > #ord3-topbar {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 82px !important;
  min-height: 82px !important;
  height: 82px !important;
  box-sizing: border-box !important;
  padding: 10px 14px !important;
  gap: 8px !important;
  overflow: hidden !important;
  border-radius: 0 0 24px 24px !important;
  border-bottom: 0 !important;
  background: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  background-image: linear-gradient(115deg, #1c1410 0%, #47200f 66%, #a83c10 145%) !important;
  box-shadow: 0 12px 28px rgba(28, 20, 16, 0.18) !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .top-app-bar > .icon-btn,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .tbar > .back-btn,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .tbar > .icon-btn,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > #ord3-topbar > button {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  flex: 0 0 48px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  box-shadow: none !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .top-app-bar > .icon-btn svg,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .tbar > .back-btn svg,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .tbar > .icon-btn svg,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > #ord3-topbar > button svg {
  color: currentColor !important;
  fill: currentColor !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .top-app-bar .bar-title,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .top-app-bar .section-title,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > .tbar .tbar-title,
html body #shell .screen:not(#screen-home):not(#sc-catpage):not(#sc-notif) > #ord3-topbar #ord3-title {
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* Extend the brand underline to primary content headings on other pages. */
html body #shell .screen:not(#screen-home):not(#sc-catpage) .help-hero h1,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .about-sec h3,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .address-intro h1,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .address-list-heading h2,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .section-title,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .sec-h,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .ord-section-label {
  position: relative !important;
}

html body #shell .screen:not(#screen-home):not(#sc-catpage) .help-hero h1::after,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .about-sec h3::after,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .address-intro h1::after,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .address-list-heading h2::after,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .section-title::after,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .sec-h::after,
html body #shell .screen:not(#screen-home):not(#sc-catpage) .ord-section-label::after {
  content: '' !important;
  display: block !important;
  width: 26px !important;
  height: 2px !important;
  margin: 8px auto 0 !important;
  border-radius: 999px !important;
  background: var(--md-primary) !important;
}

html body #shell #sc-addresses .address-intro h1::after,
html body #shell #sc-addresses .address-list-heading h2::after {
  content: '' !important;
  display: block !important;
  width: 26px !important;
  height: 2px !important;
  margin: 8px auto 0 !important;
  border-radius: 999px !important;
  background: var(--md-primary) !important;
}

/* Keep the page surface around product cards pure white. */
html body #shell #screen-products#screen-products > #cat-chips,
html body #shell #screen-products#screen-products > .scroll-body {
  background: #fff !important;
}

/* Top Sellers uses a nested heading, so give it the same final contract. */
html body #screen-top-sellers > .top-app-bar .top-sellers-title .top-heading-underline,
html body #screen-popular > .top-app-bar .top-sellers-title .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-top-sellers > .top-app-bar .top-sellers-title,
html body #screen-popular > .top-app-bar .top-sellers-title {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  overflow: visible !important;
  text-align: center !important;
  z-index: 2 !important;
  color: #fff !important;
}

html body #screen-popular > .top-app-bar > .top-sellers-title,
html body #screen-top-sellers > .top-app-bar > .top-sellers-title {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: max-content !important;
  max-width: calc(100% - 150px) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
  color: #fff !important;
  z-index: 2 !important;
}

html body #screen-popular > .top-app-bar > .ord3-support-btn,
html body #screen-top-sellers > .top-app-bar > .ord3-support-btn {
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
}

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 .top-sellers-title,
html body #shell .screen .ord-topbar-title,
html body #shell .screen .heading,
html body #shell .screen .title,
html body #shell .screen .section-card-title {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

/* Product catalogue: clear hierarchy, compact category browsing, and calm cards. */
html body #shell #screen-products#screen-products {
  background: #fff !important;
}

html body #shell .screen#screen-products#screen-products > .top-app-bar--products {
  flex-basis: 72px !important;
  min-height: 72px !important;
  height: 72px !important;
  padding: 8px 16px !important;
  border-radius: 0 0 20px 20px !important;
  background: linear-gradient(115deg, #211713 0%, #452315 68%, #713414 145%) !important;
  box-shadow: 0 5px 16px rgba(38, 23, 17, 0.12) !important;
}

html body #shell #screen-products#screen-products > .top-app-bar--products > .icon-btn:first-child {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  flex-basis: 44px !important;
  border-radius: 14px !important;
}

html body #shell #screen-products#screen-products .search-full-bar {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  border-color: #f1e7e1 !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(25, 15, 10, 0.12) !important;
}

html body #shell #screen-products#screen-products .search-full-bar:focus-within {
  border-color: #e85a1a !important;
  box-shadow: 0 0 0 3px rgba(232, 90, 26, 0.16) !important;
}

html body #shell #screen-products#screen-products #cat-chips {
  flex: 0 0 auto !important;
  gap: 8px !important;
  margin-top: 20px !important;
  padding: 0 16px 8px !important;
  border: 0 !important;
  background: #fffaf7 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html body #shell #screen-products#screen-products > .products-search-tools {
  display: none !important;
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  margin: 8px 16px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body #shell #screen-products#screen-products > .products-search-tools.is-visible {
  display: flex !important;
}

html body #shell #screen-products#screen-products .products-sort-control {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html body #shell #screen-products#screen-products .products-search-caption {
  color: #63554d !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body #shell #screen-products#screen-products #prod-sort-select {
  width: auto !important;
  min-width: 152px !important;
  min-height: 38px !important;
  padding: 0 30px 0 12px !important;
  border: 1px solid #eadfd9 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #2b211c !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

html body #shell #screen-products#screen-products #cat-chips .filter-chip {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid #eadfd9 !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #514740 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

html body #shell #screen-products#screen-products #cat-chips .filter-chip.active {
  border-color: #d94d13 !important;
  background: #d94d13 !important;
  box-shadow: 0 3px 9px rgba(217, 77, 19, 0.18) !important;
  color: #fff !important;
}

html body #shell #screen-products#screen-products .scroll-body {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 10px !important;
  background: #fff !important;
}

html body #shell #screen-products#screen-products #prod-grid {
  gap: 10px !important;
  padding: 0 14px 104px !important;
  background: #fff !important;
}

html body #shell #screen-products#screen-products #prod-grid > .prod-card-m3 {
  height: auto !important;
  min-height: 304px;
  overflow: hidden;
  border: 1px solid #eee5df !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(40, 25, 16, 0.055) !important;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

html body #shell #screen-products#screen-products #prod-grid > .prod-card-m3:hover {
  box-shadow: 0 7px 18px rgba(40, 25, 16, 0.11) !important;
  transform: translateY(-2px);
}

html body #shell #screen-products#screen-products #prod-grid .prod-img-wrap {
  height: 148px !important;
  min-height: 148px !important;
  padding: 10px !important;
  background: #fff !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-img-wrap img.product-img {
  width: 100% !important;
  height: 100% !important;
  padding: 4px !important;
  border-radius: 12px !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

html body #shell #screen-products#screen-products #prod-grid > .prod-card-m3 .prod-info {
  flex: 1 1 auto !important;
  gap: 8px !important;
  padding: 12px 12px 14px !important;
  border-top: 1px solid rgba(28, 14, 6, 0.04) !important;
  background: var(--md-surface-2) !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-name-m3 {
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-unit-m3 {
  min-height: 29px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.045em !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-savings-row {
  min-height: 22px !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-price-row {
  min-height: 44px !important;
  margin-top: 8px !important;
  align-items: center !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-price-m3 {
  color: #ff4500 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-fab {
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  flex-basis: 48px !important;
  border-radius: 16px 0 !important;
  box-shadow: 0 6px 14px rgba(255, 69, 0, 0.24) !important;
}

html body #shell #screen-products#screen-products #prod-grid .prod-fab:hover {
  box-shadow: 0 8px 18px rgba(255, 69, 0, 0.28) !important;
}

@media (prefers-reduced-motion: reduce) {
  html body #shell #screen-products#screen-products #prod-grid > .prod-card-m3 {
    transition: none !important;
  }
}

/* Catalog loading keeps the final two-column card geometry in place. */
.product-skeleton-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#screen-products #prod-grid[aria-busy="true"],
#screen-home #home-products-grid[aria-busy="true"] {
  position: relative;
}

.product-card-skeleton {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 304px;
  overflow: hidden;
  border: 1px solid #eee5df;
  border-radius: 18px;
  background: #fff;
}

.product-card-skeleton__image {
  flex: 0 0 148px;
  height: 148px;
  margin: 10px;
  border-radius: 12px;
}

.product-card-skeleton__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 6px 12px 12px;
}

.product-card-skeleton__line,
.product-card-skeleton__image,
.product-card-skeleton__add {
  background: linear-gradient(100deg, #f0ece9 20%, #faf8f7 38%, #f0ece9 56%);
  background-size: 220% 100%;
  animation: product-card-shimmer 1.4s ease-in-out infinite;
}

.product-card-skeleton__line {
  height: 12px;
  border-radius: 999px;
}

.product-card-skeleton__line--name { width: 84%; height: 15px; }
.product-card-skeleton__line--unit { width: 48%; height: 10px; }

.product-card-skeleton__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.product-card-skeleton__price {
  display: grid;
  flex: 1;
  gap: 9px;
  padding-bottom: 4px;
}

.product-card-skeleton__line--price { width: 64%; height: 17px; }
.product-card-skeleton__line--stock { width: 78%; height: 9px; }

.product-card-skeleton__add {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 15px;
}

.product-data-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  padding: 12px 14px;
  border: 1px solid #eadfd9;
  border-radius: 14px;
  background: #fffaf7;
  color: #342821;
  font-size: 13px;
  line-height: 1.45;
}

.product-data-status--warning,
.product-data-status--error {
  border-color: #efc49f;
  background: #fff4eb;
}

.product-data-status__message {
  min-width: 0;
}

.product-data-status__action {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #a83c10;
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.product-data-status__action:focus-visible {
  outline: 3px solid rgba(232, 90, 26, 0.35);
  outline-offset: 2px;
}

.product-data-status__action:disabled {
  opacity: 0.7;
}

.prod-price-m3,
.detail-price-big,
.price-num,
.cq-num,
.pqn,
.summary-card .sum-row,
.loyalty-strip,
.loyalty-points {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.detail-title,
#screen-home .section-title,
#screen-products .bar-title {
  text-wrap: balance;
}

@keyframes product-card-shimmer {
  to { background-position-x: -220%; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card-skeleton__line,
  .product-card-skeleton__image,
  .product-card-skeleton__add {
    animation: none;
    background: #f0ece9;
  }
}

/* Locally stored search history remains private to this browser. */
html body #shell #screen-products .products-search-tools {
  position: relative;
  z-index: 20;
}

html body #shell #screen-products .products-search-tools .products-recent-searches:not([hidden]) {
  z-index: 30;
}

.products-recent-searches {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 12px;
  border: 1px solid #eadfd9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32, 22, 16, 0.16);
}

.products-recent-searches[hidden] { display: none; }

.products-recent-searches__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #63554d;
  font-size: 12px;
  font-weight: 700;
}

.products-recent-searches__heading button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #a83c10;
  font: inherit;
}

.products-recent-searches__items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.products-recent-search {
  min-height: 38px;
  max-width: 100%;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid #eee5df;
  border-radius: 999px;
  background: #fffaf7;
  color: #342821;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.products-recent-search:focus-visible,
.products-recent-searches__heading button:focus-visible {
  outline: 3px solid rgba(232, 90, 26, 0.32);
  outline-offset: 2px;
}
