.contact-floats {
  position: fixed;
  right: 1rem;
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0));
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact-floats a {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.contact-floats .call-float { background: var(--brand); }
.contact-floats .wa-float { background: #25d366; }
.store-page { padding-bottom: 1rem; }
/* Home hero slides use .hero-slide from ds.css (light text on brand gradient). */
.flash-strip { margin: 1rem 0; }
.flash-strip .deal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.flash-products-rail {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.flash-products-rail::-webkit-scrollbar { display: none; }
.flash-products-rail .p-card {
  flex: 0 0 min(168px, 44vw);
  scroll-snap-align: start;
  min-width: 0;
}
@media (min-width: 720px) {
  .flash-products-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  .flash-products-rail .p-card { flex: unset; }
}
.countdown { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent); }
.cms-prose p { margin: 0 0 0.75rem; line-height: 1.55; }
.map-frame {
  border: 0;
  width: 100%;
  height: 220px;
  border-radius: var(--radius, 12px);
  background: var(--surface-2, #eef2f6);
}
.map-placeholder {
  padding: 2rem 1rem;
  text-align: center;
  background: var(--surface-2, #eef2f6);
  border-radius: var(--radius, 12px);
  color: var(--muted, #64748b);
}
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (min-width: 720px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.filters-card { margin-bottom: 1rem; }
.sticky-buy { position: sticky; bottom: calc(3.5rem + env(safe-area-inset-bottom, 0)); z-index: 20; }

/* Shop listing: products first on phones; full filter column on wide screens */
.shop-listing {
  display: grid;
  gap: 1rem;
  align-items: start;
}
.shop-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: nowrap;
}
.shop-toolbar .shop-filters-open { flex: none; white-space: nowrap; }
.shop-sort {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
.shop-sort-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2, #475467);
  margin: 0;
  width: 100%;
  max-width: 11rem;
}
.shop-sort select { width: 100%; min-width: 0; padding: 0.45rem 0.5rem; font-size: 0.85rem; }
.shop-filters-sidebar { display: none; }
.shop-filters-sidebar .filters-grid { grid-template-columns: 1fr; }
.filters-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.shop-filters-sheet .modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line, #e4e7ec);
}
.shop-filters-sheet .modal-body { padding: 1rem; max-height: min(70vh, 520px); overflow: auto; }
@media (max-width: 899px) {
  dialog.shop-filters-sheet.modal {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-radius: var(--radius, 12px) var(--radius, 12px) 0 0;
    align-self: flex-end;
  }
}
.shop-sort-desktop { display: none; }

@media (min-width: 900px) {
  .shop-listing { grid-template-columns: 260px minmax(0, 1fr); }
  .shop-listing-main { grid-column: 2; grid-row: 1; min-width: 0; }
  .shop-filters-sidebar { display: block; position: sticky; top: 76px; grid-column: 1; grid-row: 1; }
  .shop-toolbar { display: none; }
  .shop-sort-desktop { display: block; }
  .shop-filters-sheet { display: none; }
}

@media (max-width: 720px) {
  .shop-head > .row {
    flex-wrap: nowrap;
    height: 56px;
    padding-block: 0;
    gap: 0.35rem;
  }
  .shop-head .logo {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .shop-head .logo img { height: 32px; }
  .shop-search { display: none; }
  .head-icons {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
  }
  .head-icons .head-icon { padding: 0.35rem; }
  .head-icons .icon { width: 1.25rem; height: 1.25rem; }
}

/* Admin list tables */
.admin-list-card { overflow: hidden; }
.admin-list-card .toolbar .search { flex: 1 1 180px; }
.admin-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--muted-soft, #f2f4f7);
  vertical-align: middle;
}
.admin-table-wrap { overflow-x: auto; }
