.customer-offline[hidden], .recent-products[hidden] { display:none !important; }
.customer-offline { position:fixed; inset:0; z-index:2147483647; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:28px; text-align:center; background:#faf8f4; color:#222; font-family:system-ui,sans-serif; }
.customer-offline h1 { font-size:clamp(1.8rem,5vw,2.8rem); max-width:650px; }
.customer-offline p { max-width:480px; line-height:1.6; margin:0 0 24px; }
.customer-install-toast { position:fixed; z-index:9000; bottom:calc(100px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); width:min(520px,calc(100% - 28px)); box-sizing:border-box; display:flex; align-items:center; gap:14px; padding:18px; border:1px solid #d8e7e1; border-radius:20px; background:#fff; color:#222; box-shadow:0 12px 40px #153f3026; font-family:system-ui,sans-serif; }
.customer-install-toast div { flex:1; }
.customer-install-toast p { font-size:13px; margin:5px 0 0; }
.customer-install-close { background:transparent; border:0; font-size:24px; min-width:36px; min-height:44px; cursor:pointer; }
.customer-install-link { display:block; grid-column:1 / -1; justify-self:end; max-width:calc(100% - 24px); margin:10px auto; border:1px solid #1b756d; border-radius:30px; padding:9px 16px; color:#145b54; background:#f3faf7; cursor:pointer; font:600 13px system-ui; }
.customer-install-slot { display: flow-root; grid-column: 1 / -1; }
.customer-page:not(:has(.customer-install-link)) .customer-install-slot { display: none; }
.customer-install-slot svg,
.customer-install-bubble span { display: none; }
.customer-install-link.customer-install-bubble {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  max-width: none;
  margin: 0;
  padding: 0;
  float: right;
  margin-inline-start: 8px;
}
.menu-browse-bar:has(.customer-install-bubble) .menu-search-panel { display: flow-root; }
.menu-browse-bar:has(.customer-install-bubble) .category-nav { clear: both; }
.customer-install-bubble svg { width: 20px; height: 20px; }
.customer-install-help { border:0; border-radius:22px; max-width:420px; padding:28px; color:#222; background:#fff; }
.customer-install-help::backdrop { background:#0008; }
.customer-install-help p { line-height:1.7; }
.recent-products { min-width:0; grid-column:1; margin:12px 0; }
.recent-products-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.recent-products-heading h2 { margin:0; font-size:1.25rem; }
.recent-products-rail { display:flex; overflow-x:auto; gap:12px; padding:4px 2px 12px; scrollbar-width:thin; scrollbar-color:#1b756d transparent; scroll-snap-type:x proximity; }
.recent-product { flex:0 0 176px; display:flex; flex-direction:column; gap:8px; border:1px solid #dce3df; border-radius:8px; padding:12px; background:var(--surface,#fff); scroll-snap-align:start; }
.recent-product img { width:100%; height:104px; object-fit:cover; border-radius:4px; }
.recent-product h3 { margin:0; font-size:15px; }
.recent-product p { margin:0; font-size:12px; color:var(--muted,#656565); }
.customer-page .recent-product .button { margin-top:auto; min-height:42px; border-radius:4px; box-shadow:none; }
.customer-save-details { display:grid; gap:4px; padding-block:4px; }
.customer-save-details label { display:flex; gap:10px; align-items:flex-start; }
.customer-save-details input { width:20px; height:20px; flex-shrink:0; accent-color:#1b756d; }
.customer-save-details small { line-height:1.5; color:var(--muted,#656565); }
.customer-save-details > :is(details, button, small) { margin-inline-start:30px; }
.customer-save-details summary,
.customer-forget-details { min-height:28px; cursor:pointer; text-decoration:underline; }
.customer-save-details summary,
.customer-forget-details:not([hidden]) { display:flex; align-items:center; gap:6px; }
.customer-save-details summary { color:var(--menu-accent-dark); list-style:none; }
.customer-save-details summary::-webkit-details-marker { display:none; }
.customer-save-details :is(summary, button) .heroicon { width:16px; height:16px; flex:0 0 16px; }
.customer-forget-details { justify-self:start; padding:0; border:0; background:none; color:var(--menu-danger); text-align:start; }
.customer-save-details > small:empty { display:none; }
@media(max-width:540px) { .customer-install-toast { padding:14px; gap:8px; } .customer-install-toast .button { padding:10px 12px; } .recent-product { flex-basis:158px; } }
