.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; }
.shop-filters-sidebar .filters-form .field { margin-bottom: .85rem; }
.shop-filters-sidebar .filters-actions .btn { flex: 1 1 0; }
.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 { min-width: 0; }
  .shop-filters-sidebar { display: block; position: sticky; top: 76px; order: -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; }

/* Konki Boy generation: terracotta and sage, Playfair Display headings, Inter body */
:root { --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-head: "Playfair Display", Georgia, "Times New Roman", serif; --sage: #65a30d; }
body.store { font-family: var(--font-body); background: #fffaf5; }
body.store h1, body.store h2, body.store h3, body.store .logo { font-family: var(--font-head); letter-spacing: 0; }
.offer-strip { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; align-items: center; background: #ecf5dc; color: #2f4a0b; padding: .6rem 1rem; font-size: .9rem; border-radius: 12px; margin: 1rem 0; text-align: center; box-sizing: border-box; }
.offer-strip a { color: #c2410c; font-weight: 700; }
.kb-hero { border-radius: 20px; padding: 3.5rem 1.5rem; margin: 1rem 0 2rem; color: #fff; box-sizing: border-box;
  background: linear-gradient(135deg, rgba(43, 26, 18, .96), rgba(194, 65, 12, .9) 60%, rgba(101, 163, 13, .75)); }
.kb-hero-inner { max-width: 640px; }
.kb-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.1; margin: .3rem 0 .8rem; font-weight: 800; }
.kb-hero p { font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.2rem; }
.kb-hero .kb-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; margin: 0; }
.kb-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.kb-section { margin: 2.25rem 0; }
.kb-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.kb-cat { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1.4rem 1.2rem; background: #fff; border: 1px solid #f0dccd; border-left: 5px solid var(--brand); border-radius: 14px; color: #2b1a12; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; text-decoration: none; box-sizing: border-box; }
.kb-cat:hover { border-left-color: var(--sage); }
.kb-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.kb-review { margin: 0; padding: 1.2rem; }
.kb-review blockquote { margin: 0 0 .6rem; }
.kb-review figcaption { font-size: .85rem; color: var(--ink-3); }

/* Buying routes and quote form */
.kb-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.kb-route { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem; background: #fff; border: 1px solid #f0dccd; border-top: 4px solid var(--brand); border-radius: 14px; color: #2b1a12; text-decoration: none; box-sizing: border-box; }
.kb-route strong { font-family: var(--font-head); font-size: 1.15rem; }
.kb-route span { font-size: .92rem; color: #5b4a40; }
.kb-route em { font-style: normal; font-weight: 700; color: var(--brand); margin-top: auto; }
.kb-route:hover { border-top-color: var(--sage); }
.kb-points { padding-left: 1.2rem; }
