/* Shop Locator – Home Dashboard (no Tailwind dependency)
 * Scope everything to .sbf-home to avoid theme collisions.
 */

.sbf-home{
  --sbf-bg:#f4f6f8;
  --sbf-card:#ffffff;
  --sbf-text:#111827;
  --sbf-muted:#6b7280;
  --sbf-line:#e5e7eb;
  --sbf-shadow:0 8px 24px rgba(17,24,39,.08);
  --sbf-radius:22px;
  --sbf-radius2:16px;

  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--sbf-text);
}

.sbf-home *, .sbf-home *::before, .sbf-home *::after{ box-sizing:border-box; }
.sbf-home a{ color:inherit; text-decoration:none; }
.sbf-home .sbf-cat,
.sbf-home .sbf-cat:link,
.sbf-home .sbf-cat:visited,
.sbf-home .sbf-cat:hover,
.sbf-home .sbf-cat:active{ color:#111827 !important; }

/* Full-bleed background wrapper (ONLY this breaks out of theme containers) */
.sbf-home-dashboard-bleed{
  width:100vw;
  margin-left:calc(50% - 50vw);
  background:var(--sbf-bg);
}

/* App surface */
.sbf-home__app{
  min-height:100vh;
  background:var(--sbf-bg);
}

/* Centered content container */
.sbf-container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:24px 16px 34px;
}

/* Inline SVG icon system */
.sbf-svg{
  width:20px;
  height:20px;
  display:block;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sbf-svg--sm{ width:18px; height:18px; }
.sbf-cat__wm .sbf-svg{ width:96px; height:96px; }

/* Hero / search */
.sbf-hero{ padding:10px 0 8px; text-align:center; }
.sbf-hero__title{
  font-size:44px;
  letter-spacing:-.02em;
  font-weight:1100;
  margin:8px 0 18px;
}

.sbf-search{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.sbf-search__row{
  display:flex;
  align-items:stretch;
  gap:14px;
  width:min(680px, 100%);
}
.sbf-search__field{
  flex:1;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:999px;
  padding:14px 16px;
  box-shadow:0 10px 30px rgba(17,24,39,.06);
}
.sbf-search__field span{ color:#94a3b8; }
.sbf-search__field input{
  border:0;
  outline:none;
  font-size:15px;
  width:100%;
  background:transparent;
  color:var(--sbf-text);
}

/* Find button: hard-guard against theme button styles */
.sbf-home #sbf-home-search-btn,
.sbf-home .sbf-search__btn{
  border:0 !important;
  background:#111827 !important;
  color:#fff !important;
  border-radius:18px;
  padding:0 22px;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 10px 30px rgba(17,24,39,.18);
  line-height:1;
  white-space:nowrap;
}
.sbf-home #sbf-home-search-btn:hover,
.sbf-home .sbf-search__btn:hover{ background:#0b1220 !important; }

.sbf-recent{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}
.sbf-recent__label{ color:#94a3b8; font-weight:900; }
.sbf-recent__chip{
  border:0;
  background:transparent;
  color:#64748b;
  font-weight:900;
  cursor:pointer;
}
.sbf-recent__chip:hover{ color:#111827; }

/* Page-scoped dashboard widgets and states
 * Keep homepage/checked-out selectors rooted at .sbf-home so shared frontend.css
 * remains the only owner of unscoped generic selectors.
 */

/* Category tiles */
.sbf-cats{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  gap:16px;
  margin:22px 0 26px;
}
.sbf-cat{
  position:relative;
  display:block;
  padding:20px;
  border-radius:22px;
  color:#111827;
  box-shadow:0 14px 40px rgba(17,24,39,.18);
  overflow:hidden;
  min-height:180px;
  transition:transform .15s ease, opacity .15s ease;
}
@media (min-width: 640px){
  .sbf-cat{
    min-height:220px;
  }
}
.sbf-cat:hover{ transform:translateY(-1px); opacity:.98; }
.sbf-cat__icon{
  width:40px;
  height:40px;
  border-radius:14px;
  background:rgba(255,255,255,.16);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}
.sbf-cat__icon img{
  width:26px;
  height:26px;
  display:block;
}
.sbf-home .sbf-cat__title,
.sbf-home .sbf-cat__title a{
  font-weight:1100;
  font-size:16px;
  line-height:1.1;
  color:#111827 !important;
}
.sbf-home .sbf-cat__sub{
  font-size:11px;
  opacity:.9;
  margin-top:8px;
  max-width:165px;
  color:#111827 !important;
}
.sbf-home .sbf-cat__meta{
  position:absolute;
  left:18px;
  bottom:14px;
  font-size:12px;
  font-weight:1000;
  opacity:.95;
  color:#111827 !important;
}

.sbf-cat__wm{
  position:absolute;
  right:-20px;
  bottom:-20px;
  opacity:.20;
  pointer-events:none;
  transform:none;
}

.sbf-cat__wm img{
  width:110px;
  height:110px;
  display:block;
  object-fit:contain;
  transform:none;
}

.sbf-cat__wm .sbf-svg{
  width:110px;
  height:110px;
  transform:none;
}

.sbf-cat--hardware{ background:#5856a6; }
.sbf-cat--hwbin{ background:#b64b57; }
.sbf-cat--items{ background:#2b7a46; }
.sbf-cat--tools{ background:#ef8b19; }
.sbf-cat--fluids{ background:#7a7a2a; }
.sbf-cat--storage{ background:#2b7f8f; }
.sbf-cat--locations{ background:#2563eb; }

/* Main grid */
.sbf-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  margin-top:8px;
}
.sbf-home .sbf-card{
  background:#fff;
  border-radius:var(--sbf-radius);
  box-shadow:var(--sbf-shadow);
  padding:18px;
  color:var(--sbf-text);
}
.sbf-home .sbf-card,
.sbf-home .sbf-card a{
  color:var(--sbf-text);
}
.sbf-home .sbf-card__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  padding:8px 10px 14px;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.sbf-home .sbf-card__head--simple{
  border-bottom:0;
  padding-bottom:10px;
}
.sbf-home .sbf-card__title{ font-size:18px; font-weight:1100; color:var(--sbf-text); }
.sbf-home .sbf-card__sub{ font-size:12px; color:var(--sbf-muted); font-weight:800; margin-top:4px; }
.sbf-home .sbf-card__headRight{ display:flex; align-items:center; gap:10px; }

.sbf-home .sbf-pill{
  font-size:11px;
  font-weight:1000;
  padding:6px 10px;
  border-radius:999px;
  background:#f3f4f6;
  color:#111827;
}
.sbf-home .sbf-pill--pink{ background:#ffd3dc; color:#9f1239; }
.sbf-home .sbf-pill--yellow{ background:#fde68a; color:#92400e; }

.sbf-home .sbf-circle{
  width:34px;height:34px;border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  display:flex;align-items:center;justify-content:center;
  background:#fff;
}
.sbf-home .sbf-circle:hover{ background:#f9fafb; }

.sbf-home .sbf-card__body{ padding:14px 10px 10px; }

/* === Checked Out: Stats (match UX comp) === */
.sbf-home .sbf-stats{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin:6px 0 18px;
}

.sbf-home .sbf-stat{
  border-radius:18px;
  padding:18px 18px 16px;
  border:0;
}

.sbf-home .sbf-stat__num{
  font-size:22px;
  font-weight:1100;
  line-height:1;
}

.sbf-home .sbf-stat__lbl{
  font-size:11px;
  font-weight:1000;
  margin-top:7px;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.95;
}

.sbf-home .sbf-stat--blue{ background:#eaf2ff; color:#1d4ed8; }
.sbf-home .sbf-stat--orange{ background:#fff2e6; color:#ea580c; }
.sbf-home .sbf-stat--green{ background:#e9f9ef; color:#16a34a; }

/* === Checked Out: List (match UX comp row separators) === */
.sbf-home .sbf-list{
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:6px;
}

.sbf-home .sbf-muted{
  color:var(--sbf-muted);
  font-weight:800;
  font-size:13px;
}

/* Row layout like the screenshot (no “boxed cards” per row) */
.sbf-home .sbf-list__row{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 2px;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.sbf-home .sbf-list__row:last-child{
  border-bottom:0;
}

.sbf-home .sbf-list__ic{
  width:42px;
  height:42px;
  border-radius:14px;
  background:#334155;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  overflow:hidden;
}

.sbf-home .sbf-list__img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:inherit;
}

.sbf-home .sbf-list__img--icon{
  width:20px;
  height:20px;
  object-fit:contain;
  border-radius:0;
  filter:brightness(0) invert(1);
}

.sbf-home .sbf-list__main{
  flex:1;
  min-width:0;
}

.sbf-home .sbf-list__title{
  font-size:13px;
  font-weight:1100;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.sbf-home .sbf-list__sub{
  margin-top:3px;
  font-size:11px;
  color:var(--sbf-muted);
  font-weight:800;
}

.sbf-home .sbf-list__right{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.sbf-home .sbf-avatar{
  width:26px;
  height:26px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:1100;
  font-size:11px;
}

.sbf-home .sbf-list__who{
  font-size:12px;
  font-weight:1100;
  white-space:nowrap;
}

.sbf-home .sbf-list__due{
  margin-top:2px;
  font-size:11px;
  font-weight:1000;
  white-space:nowrap;
}

.sbf-home .sbf-due--overdue{ color:#ef4444; }
.sbf-home .sbf-due--soon{ color:#f97316; }
.sbf-home .sbf-due--ok{ color:#16a34a; }

.sbf-home .sbf-link{ color:#2563eb; font-weight:1000; }
.sbf-home .sbf-link:hover{ text-decoration:underline; }

.sbf-home .sbf-ghost{
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  color:#64748b;
  font-weight:1000;
}
.sbf-home .sbf-ghost:hover{ background:#f9fafb; color:#111827; }

/* Map */
.sbf-home .sbf-map{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  margin:8px 10px 0;
  height:270px;
  background:#e5e7eb;
  cursor:pointer;
}
.sbf-home .sbf-map__img{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.0));
}
.sbf-home .sbf-map__shade{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.35));
}
.sbf-home .sbf-map__label{
  position:absolute;
  left:14px; right:14px; bottom:14px;
  color:#fff;
  padding:18px 14px 14px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.42));
}
.sbf-home .sbf-map__kicker{ font-size:12px; font-weight:900; opacity:.85; }
.sbf-home .sbf-map__zone{ font-size:16px; font-weight:1100; margin-top:2px; }

.sbf-home .sbf-tabs{ display:flex; gap:8px; margin:12px 10px 12px; overflow:auto; padding-bottom:4px; }
.sbf-home .sbf-tab{
  border:1px solid rgba(0,0,0,.08);
  background:#f3f4f6;
  color:#374151;
  font-weight:1000;
  font-size:12px;
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  white-space:nowrap;
}
.sbf-home .sbf-tab--active{ background:#111827; color:#fff; border-color:#111827; }

.sbf-home .sbf-mapbtn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  padding:12px 14px;
  border-radius:14px;
  font-weight:1100;
  margin:0 10px 10px;
}
.sbf-home .sbf-mapbtn:hover{ background:#f9fafb; }

/* Bottom row */
.sbf-home .sbf-bottom{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  margin-top:22px;
  padding-bottom:10px;
}

.sbf-home .sbf-orders{
  display:flex;
  flex-direction:column;
  gap:0;
}

.sbf-home .sbf-order{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 2px;
  border:0;
  border-bottom:1px solid rgba(0,0,0,.06);
  border-radius:0;
  background:transparent;
}

.sbf-home .sbf-order:last-child{
  border-bottom:0;
}

.sbf-home .sbf-order__ic{
  width:42px;
  height:42px;
  border-radius:14px;
  background:#334155;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  overflow:hidden;
}

.sbf-home .sbf-order__img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:inherit;
}

.sbf-home .sbf-order__img--icon{
  width:20px;
  height:20px;
  object-fit:contain;
  border-radius:0;
  filter:brightness(0) invert(1);
}

.sbf-home .sbf-order__txt{ flex:1; min-width:0; }
.sbf-home .sbf-order__title{ font-weight:1100; }

.sbf-home .sbf-home .sbf-card--dark{
  background:linear-gradient(135deg,#111827,#0b1220);
  color:#fff;
}
.sbf-home .sbf-home .sbf-card--dark .sbf-card__sub{ color:rgba(255,255,255,.75); }
.sbf-home .sbf-btn{
  border:0;
  background:#f3a4b5;
  color:#111827;
  font-weight:1100;
  padding:12px 16px;
  border-radius:14px;
  cursor:pointer;
}
.sbf-home .sbf-btn:hover{ filter:brightness(.98); }

/* Footer link area inside cards */
.sbf-home .sbf-home .sbf-card__foot{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--sbf-line);
  text-align:center;
}

/* Responsive */
@media (max-width: 1024px){
  .sbf-cats{ grid-template-columns:repeat(2, 1fr); }
  .sbf-grid{ grid-template-columns:1fr; }
  .sbf-home .sbf-bottom{ grid-template-columns:1fr; }
}
@media (max-width: 780px){
  .sbf-hero__title{ font-size:34px; }
  .sbf-search__row{ flex-direction:column; }
  .sbf-home .sbf-search__btn{ height:46px; }
}

/* =========================================================
   Checked Out page – HTML reference match
   Scoped to .sbf-checkedout-page only.
   ========================================================= */
.sbf-checkedout-page{
  --co-bg:#f8fafc;
  --co-surface:#f1f5f9;
  --co-card:#ffffff;
  --co-border:#e5e7eb;
  --co-border-strong:#dbe3ec;
  --co-text:#0f172a;
  --co-muted:#64748b;
  --co-primary:#0f172a;
  --co-secondary:#2563eb;
  --co-danger:#dc2626;
  --co-success:#15803d;
  --co-warning:#f59e0b;
  --co-accent:#ec4899;
  background:var(--co-bg);
}

.sbf-checkedout-page .sbf-container{
  max-width:1280px;
  padding-top:34px;
  padding-bottom:44px;
}

.sbf-checkedout-page .sbf-checkedout-shell{
  color:var(--co-text);
}

.sbf-checkedout-page svg{
  width:18px;
  height:18px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.sbf-checkedout-page .sbf-checkedout-topbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:26px;
}

.sbf-checkedout-page .sbf-checkedout-topbar__title{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.08;
  letter-spacing:-.02em;
  font-weight:800;
  color:var(--co-primary);
}

.sbf-checkedout-page .sbf-checkedout-topbar__sub{
  margin:0;
  font-size:15px;
  color:var(--co-muted);
}

.sbf-checkedout-page .sbf-checkedout-filters{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.sbf-checkedout-page .sbf-checkedout-filter{
  position:relative;
  display:flex;
  align-items:center;
  min-height:46px;
  background:#fff;
  border:1px solid var(--co-border);
  border-radius:14px;
  box-shadow:0 1px 2px rgba(15,23,42,.04);
}

.sbf-checkedout-page .sbf-checkedout-filter--search{
  width:320px;
  padding:0 14px 0 40px;
}

.sbf-checkedout-page .sbf-checkedout-filter__icon,
.sbf-checkedout-page .sbf-checkedout-filter__caret{
  position:absolute;
  color:#94a3b8;
  pointer-events:none;
}

.sbf-checkedout-page .sbf-checkedout-filter__icon{ left:14px; }
.sbf-checkedout-page .sbf-checkedout-filter__caret{ right:14px; }

.sbf-checkedout-page .sbf-checkedout-filter input,
.sbf-checkedout-page .sbf-checkedout-filter select{
  width:100%;
  border:0;
  background:transparent;
  color:var(--co-text);
  outline:none;
  font-size:14px;
  box-shadow:none;
}

.sbf-checkedout-page .sbf-checkedout-filter select{
  appearance:none;
  padding:0 40px 0 14px;
  min-width:148px;
  cursor:pointer;
}

.sbf-checkedout-page .sbf-checkedout-sortbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
  padding:0 8px;
  flex-wrap:wrap;
}

.sbf-checkedout-page .sbf-checkedout-sortbar__meta{
  font-size:14px;
  color:var(--co-muted);
  font-weight:500;
}

.sbf-checkedout-page .sbf-checkedout-sortbar__count{
  color:var(--co-primary);
  font-weight:800;
}

.sbf-checkedout-page .sbf-checkedout-sortbtn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:0;
  background:transparent;
  color:var(--co-muted) !important;
  padding:0;
  font-size:14px;
  cursor:pointer;
  box-shadow:none;
}

.sbf-checkedout-page .sbf-checkedout-sortbtn strong{ color:var(--co-primary); }
.sbf-checkedout-page .sbf-checkedout-sortbtn__icon{ color:var(--co-primary); }

.sbf-checkedout-page .sbf-checkedout-cards{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.sbf-checkedout-page .sbf-checkedout-carditem{
  background:var(--co-card);
  border:1px solid var(--co-border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 20px rgba(15,23,42,.05), 0 2px 5px rgba(15,23,42,.03);
  transition:box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.sbf-checkedout-page .sbf-checkedout-carditem:hover{
  box-shadow:0 18px 26px rgba(15,23,42,.08), 0 8px 12px rgba(15,23,42,.04);
}

.sbf-checkedout-page .sbf-checkedout-carditem.is-overdue{
  border-left:4px solid var(--co-danger);
}

.sbf-checkedout-page .sbf-checkedout-carditem__row{
  display:flex;
  gap:18px;
  align-items:center;
  padding:20px;
  cursor:pointer;
}

.sbf-checkedout-page .sbf-checkedout-carditem__thumb{
  position:relative;
  width:128px;
  min-width:128px;
  height:96px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--co-border);
  background:var(--co-surface);
}

.sbf-checkedout-page .sbf-checkedout-carditem__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.sbf-checkedout-page .sbf-checkedout-carditem__thumb--icon{
  background:#0f172a;
  display:flex;
  align-items:center;
  justify-content:center;
}

.sbf-checkedout-page .sbf-checkedout-carditem__thumbimg--icon{
  width:58px !important;
  height:58px !important;
  object-fit:contain !important;
  filter:brightness(0) invert(1);
}

.sbf-checkedout-page .sbf-checkedout-carditem__type{
  position:absolute;
  top:10px;
  left:10px;
  padding:4px 8px;
  border-radius:8px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.95);
  box-shadow:0 1px 2px rgba(15,23,42,.07);
  font-size:10px;
  line-height:1;
  font-weight:800;
  color:var(--co-primary);
}

.sbf-checkedout-page .sbf-checkedout-carditem__grid{
  display:grid;
  grid-template-columns:minmax(0,4fr) minmax(200px,3fr) minmax(200px,3fr) minmax(92px,2fr);
  gap:18px;
  align-items:center;
  flex:1;
  min-width:0;
}

.sbf-checkedout-page .sbf-checkedout-carditem__title{
  margin:0;
  font-size:20px;
  line-height:1.2;
  font-weight:800;
  color:var(--co-primary);
}

.sbf-checkedout-page .sbf-checkedout-carditem__row:hover .sbf-checkedout-carditem__title{
  color:var(--co-secondary);
}

.sbf-checkedout-page .sbf-checkedout-carditem__loc{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  color:var(--co-muted);
  font-size:14px;
  min-width:0;
  flex-wrap:wrap;
}

.sbf-checkedout-page .sbf-checkedout-inlineicon{ color:#f59e0b; display:inline-flex; }

.sbf-checkedout-page .sbf-checkedout-code{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 7px;
  border-radius:7px;
  background:var(--co-surface);
  border:1px solid var(--co-border);
  color:var(--co-primary);
  font-size:11px;
  line-height:1;
  font-weight:700;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}

.sbf-checkedout-page .sbf-checkedout-carditem__person{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.sbf-checkedout-page .sbf-checkedout-carditem__avatar{
  width:40px;
  height:40px;
  border-radius:999px;
  background:#e5e7eb;
  border:2px solid #fff;
  box-shadow:0 1px 3px rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:800;
  color:var(--co-primary);
  flex:0 0 auto;
}

.sbf-checkedout-page .sbf-checkedout-kicker{
  margin:0 0 3px;
  color:var(--co-muted);
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:11px;
  font-weight:700;
}

.sbf-checkedout-page .sbf-checkedout-carditem__personname{
  margin:0;
  font-size:14px;
  font-weight:800;
  color:var(--co-text);
}

.sbf-checkedout-page .sbf-checkedout-carditem__time{
  min-width:0;
}

.sbf-checkedout-page .sbf-checkedout-carditem__stamp{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.sbf-checkedout-page .sbf-checkedout-carditem__datetime{
  font-size:14px;
  font-weight:800;
  color:var(--co-text);
}

.sbf-checkedout-page .sbf-checkedout-carditem__datetime.is-danger,
.sbf-checkedout-page .sbf-checkedout-carditem__helper.is-danger{ color:var(--co-danger); }

.sbf-checkedout-page .sbf-checkedout-carditem__helper{
  display:block;
  margin-top:4px;
  color:var(--co-muted);
  font-size:13px;
}

.sbf-checkedout-page .sbf-checkedout-status{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  border:1px solid transparent;
}

.sbf-checkedout-page .sbf-checkedout-status.is-active{
  background:#ecfdf5;
  border-color:#bbf7d0;
  color:var(--co-success);
}

.sbf-checkedout-page .sbf-checkedout-status.is-overdue{
  background:#fef2f2;
  border-color:#fecaca;
  color:var(--co-danger);
}

.sbf-checkedout-page .sbf-checkedout-carditem__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.sbf-checkedout-page .sbf-checkedout-iconbtn{
  width:34px;
  height:34px;
  border-radius:12px;
  border:0;
  background:var(--co-surface) !important;
  color:var(--co-muted) !important;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:none;
  padding:0;
}

.sbf-checkedout-page .sbf-checkedout-carditem__row:hover .sbf-checkedout-iconbtn--chevron{
  background:rgba(37,99,235,.08) !important;
  color:var(--co-secondary) !important;
}

.sbf-checkedout-page .sbf-checkedout-details{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .3s ease;
  background:rgba(241,245,249,.72);
  border-top:1px solid var(--co-border);
}

.sbf-checkedout-page .sbf-checkedout-details__inner{ overflow:hidden; }
.sbf-checkedout-page .sbf-checkedout-carditem.is-open .sbf-checkedout-details{ grid-template-rows:1fr; }
.sbf-checkedout-page .sbf-checkedout-carditem.is-open .sbf-checkedout-iconbtn--chevron svg{ transform:rotate(180deg); }
.sbf-checkedout-page .sbf-checkedout-iconbtn--chevron svg{ transition:transform .28s ease; }

.sbf-checkedout-page .sbf-checkedout-details__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  padding:24px 20px;
}

.sbf-checkedout-page .sbf-checkedout-detailcol h4{
  margin:0 0 14px;
  color:var(--co-muted);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  font-weight:800;
}

.sbf-checkedout-page .sbf-checkedout-detailrow{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:0 0 10px;
  margin-bottom:10px;
  border-bottom:1px solid rgba(226,232,240,.92);
  font-size:14px;
}

.sbf-checkedout-page .sbf-checkedout-detailrow span{ color:var(--co-muted); }
.sbf-checkedout-page .sbf-checkedout-detailrow strong{ color:var(--co-text); font-weight:600; text-align:right; }
.sbf-checkedout-page .sbf-checkedout-detailrow .is-good{ color:var(--co-success); }

.sbf-checkedout-page .sbf-checkedout-detailcol--actions{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:14px;
}

.sbf-checkedout-page .sbf-checkedout-notes{
  background:#fff;
  border:1px solid var(--co-border);
  border-radius:16px;
  box-shadow:0 1px 2px rgba(15,23,42,.05);
  padding:14px;
}

.sbf-checkedout-page .sbf-checkedout-notes p{
  margin:0 0 6px;
  color:var(--co-muted);
  font-size:12px;
}

.sbf-checkedout-page .sbf-checkedout-notes div{
  font-size:14px;
  color:var(--co-text);
  font-style:italic;
}

.sbf-checkedout-page .sbf-checkedout-detailactions{
  display:flex;
  gap:12px;
}

.sbf-checkedout-page .sbf-checkedout-action{
  flex:1;
  min-height:44px;
  border-radius:14px;
  padding:0 14px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.sbf-checkedout-page .sbf-checkedout-action--ghost{
  background:#fff !important;
  color:var(--co-text) !important;
  border:1px solid var(--co-border) !important;
}

.sbf-checkedout-page .sbf-checkedout-action--primary{
  background:#0f172a !important;
  color:#fff !important;
  border:1px solid #0f172a !important;
}

.sbf-checkedout-page .sbf-checkedout-empty{
  background:#fff;
  border:1px solid var(--co-border);
  border-radius:24px;
  padding:36px 24px;
  color:var(--co-muted);
  font-weight:700;
  text-align:center;
}

.sbf-checkedout-page .sbf-checkedout-backlinkwrap{ padding-top:18px; }
.sbf-checkedout-page .sbf-checkedout-backlink{ color:#2563eb; font-weight:700; }

@media (max-width: 1100px){
  .sbf-checkedout-page .sbf-checkedout-topbar{ align-items:flex-start; flex-direction:column; }
  .sbf-checkedout-page .sbf-checkedout-carditem__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sbf-checkedout-page .sbf-checkedout-carditem__actions{ justify-content:flex-start; }
  .sbf-checkedout-page .sbf-checkedout-details__grid{ grid-template-columns:1fr; }
}

@media (max-width: 767px){
  .sbf-checkedout-page .sbf-checkedout-filter--search,
  .sbf-checkedout-page .sbf-checkedout-filter--select{ width:100%; }
  .sbf-checkedout-page .sbf-checkedout-filters{ width:100%; }
  .sbf-checkedout-page .sbf-checkedout-carditem__row{ flex-direction:column; align-items:stretch; }
  .sbf-checkedout-page .sbf-checkedout-carditem__thumb{ width:100%; min-width:0; height:188px; }
  .sbf-checkedout-page .sbf-checkedout-carditem__grid{ grid-template-columns:1fr; }
  .sbf-checkedout-page .sbf-checkedout-carditem__actions{ justify-content:flex-end; }
  .sbf-checkedout-page .sbf-checkedout-detailactions{ flex-direction:column; }
}
