/* LK24H_STORE_PUBLIC_COMPACT_BOTTOM_PAGINATION_30_R5_FIXED_R1 */
/* One compact numbered paginator at the end of the product catalog, statically above bottom navigation. */

#view-toolbar {
  justify-content:flex-start;
}
#view-toolbar .spacer,
#view-toolbar .chk,
#vm-all,
#btn-more {
  display:none !important;
}

/* 30 products = 10 complete rows on the storefront's three-column desktop grid. */
#product-grid[data-view="grid"] {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

.store-pagination-bottom-r5 {
  position:relative;
  z-index:2;
  width:calc(100% - 20px);
  max-width:620px;
  min-height:52px;
  margin:22px auto calc(var(--bottom-nav-height, 0px) + env(safe-area-inset-bottom, 0px) + 18px);
  padding:9px 10px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:5px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 28px rgba(15,23,42,.09), inset 0 1px 0 rgba(255,255,255,.86);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  overflow:visible;
  isolation:isolate;
  scroll-margin-bottom:calc(var(--bottom-nav-height, 0px) + env(safe-area-inset-bottom, 0px) + 16px);
}
.store-pagination-bottom-r5[hidden] {
  display:none !important;
}

.store-pagination-bottom-r5 .store-page-btn-r4 {
  min-width:34px;
  height:34px;
  padding:0 9px;
  border:1px solid #e0e4ea;
  border-radius:10px;
  background:#fff;
  color:#20242b;
  font:750 13px/1 "Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",sans-serif;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
  box-shadow:0 3px 9px rgba(15,23,42,.045);
  transition:border-color .16s ease,color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.store-pagination-bottom-r5 .store-page-btn-r4:hover:not(:disabled) {
  border-color:#ef4444;
  color:#d92727;
  box-shadow:0 5px 13px rgba(217,39,39,.10);
  transform:translateY(-1px);
}
.store-pagination-bottom-r5 .store-page-btn-r4:focus-visible {
  outline:3px solid rgba(239,68,68,.18);
  outline-offset:2px;
}
.store-pagination-bottom-r5 .store-page-btn-r4.is-active {
  border-color:#dc2626;
  background:linear-gradient(135deg,#d92727 0%,#ef4444 100%);
  color:#fff;
  box-shadow:0 7px 16px rgba(217,39,39,.22);
}
.store-pagination-bottom-r5 .store-page-btn-r4:disabled {
  opacity:.38;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.store-pagination-bottom-r5 .store-page-nav-r4 {
  min-width:72px;
}
.store-pagination-bottom-r5 .store-page-ellipsis-r4 {
  min-width:18px;
  padding:0 1px;
  text-align:center;
  color:#7a818c;
  font-weight:800;
  line-height:34px;
}
.store-pagination-bottom-r5 .store-page-summary-r4 {
  flex-basis:100%;
  min-height:18px;
  margin-top:1px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  color:#707782;
  font:600 11.5px/1.35 "Be Vietnam Pro",system-ui,-apple-system,"Segoe UI",sans-serif;
  text-align:center;
  white-space:nowrap;
}
.store-pagination-bottom-r5 .store-page-summary-r4 i {
  color:#ef4444;
  font-size:11px;
}

@media (max-width:640px) {
  #product-grid[data-view="grid"] {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .store-pagination-bottom-r5 {
    width:calc(100% - 16px);
    max-width:none;
    min-height:48px;
    margin-top:18px;
    margin-bottom:calc(var(--bottom-nav-height, 60px) + env(safe-area-inset-bottom, 0px) + 14px);
    padding:8px;
    gap:4px;
    flex-wrap:wrap;
    overflow:visible;
  }
  .store-pagination-bottom-r5 .store-page-btn-r4 {
    min-width:32px;
    height:32px;
    padding:0 7px;
    border-radius:9px;
    font-size:12.5px;
  }
  .store-pagination-bottom-r5 .store-page-nav-r4 {
    min-width:36px;
    padding:0 9px;
  }
  .store-pagination-bottom-r5 .store-page-nav-r4 span {
    display:none;
  }
  .store-pagination-bottom-r5 .store-page-ellipsis-r4 {
    min-width:14px;
    line-height:32px;
  }
  .store-pagination-bottom-r5 .store-page-summary-r4 {
    margin-top:0;
    font-size:11px;
  }
}

@media (max-width:340px) {
  #product-grid[data-view="grid"] {
    grid-template-columns:1fr !important;
  }
  .store-pagination-bottom-r5 {
    width:calc(100% - 12px);
    padding:7px 6px;
    gap:3px;
    border-radius:14px;
  }
  .store-pagination-bottom-r5 .store-page-btn-r4 {
    min-width:30px;
    height:30px;
    padding:0 6px;
  }
  .store-pagination-bottom-r5 .store-page-nav-r4 {
    min-width:32px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .store-pagination-bottom-r5 .store-page-btn-r4 {
    transition:none;
  }
}
