#customerContent #gallery #customerCatalogFilters {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}
#customerContent #gallery .customer-latest-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #4b6154;
}
#customerContent #gallery #customerLatestInput {
  box-sizing: border-box;
  width: 64px;
  min-width: 0;
  height: 32px;
  padding: 4px 6px;
  border: 1px solid #c4d6c9;
  border-radius: 6px;
  background: #fff;
  color: #28533b;
  font: inherit;
  text-align: center;
  appearance: none;
  box-shadow: none;
}
#customerContent #gallery #customerLatestInput:hover { border-color: #8bab96; }
#customerContent #gallery #customerLatestInput:focus {
  border-color: #47765a;
  outline: 2px solid #47765a33;
  outline-offset: 1px;
}
#customerContent #gallery #customerLatestInput[aria-invalid="true"] { border-color: #ad4c38; }
#customerContent #gallery #customerMatchingCount {
  font-size: 13px;
  color: #65716a;
  white-space: nowrap;
}
#customerContent #gallery #priceFilterStatus:not([hidden]) {
  margin: 0;
  padding: 6px 12px;
  gap: 12px;
  border-color: #c4dccb;
  background: #eaf4ed !important;
  color: #42634e !important;
  font-size: 13px;
  border-radius: 8px;
}
#customerContent #gallery #priceFilterStatus bdi { color: #285b3d !important; }
#customerContent #gallery #customerLatestError {
  flex-basis: 100%;
  color: #a34231;
  font-size: 12px;
  text-align: end;
}
@media (min-width: 781px) {
  html body #customerContent > .store-info {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    justify-content: flex-start !important;
    text-align: start !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
  }
  html body #customerContent > .store-info .store-address {
    max-width: 100% !important;
    width: max-content !important;
    flex-wrap: nowrap !important;
  }
  html body #customerContent > .store-info #copyAddressBtn {
    white-space: nowrap !important;
    font-size: clamp(10px, 1vw, 14px) !important;
    line-height: 24px !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  #customerContent #gallery .gallery-result-summary {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    gap: 14px !important;
  }
  #customerContent > #galleryGrid { grid-row: 5 !important; }
  #customerContent > #emptyState { grid-row: 6 !important; }
}
@media (max-width: 780px) {
  #customerContent #gallery #customerCatalogFilters {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    gap: 10px 12px;
  }
  #customerContent #gallery #priceFilterStatus:not([hidden]) {
    flex-basis: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
  }
}

#customerContent #gallery #customerCatalogFilters[hidden] { display: none !important; }
@media (min-width:781px) {
 html body #customerContent > .store-info { grid-row:3 !important; grid-column:1 / -1 !important; width:max-content !important; max-width:48% !important; align-self:center !important; position:relative; z-index:1; }
 #customerContent #gallery .gallery-result-summary { grid-row:3 !important; grid-column:1 / -1 !important; padding-inline-start:48%; flex-wrap:nowrap !important; gap:10px !important; }
 #customerContent #gallery #customerCatalogFilters { gap:8px; flex-wrap:nowrap; }
 #customerContent #gallery #priceFilterStatus:not([hidden]) { gap:8px; padding-inline:10px; white-space:nowrap; }
 #customerContent > #galleryGrid { grid-row:4 !important; }
 #customerContent > #emptyState { grid-row:5 !important; }
}

#customerContent #gallery #customerCatalogFilters {
 width:fit-content; border:1px solid #c4dccb; border-radius:8px; background:#eaf4ed;
 padding:6px 12px; color:#42634e; font-size:13px; font-weight:500; line-height:1.6; box-sizing:border-box;
}
#customerContent #gallery #customerCatalogFilters :is(.customer-latest-control,#customerMatchingCount,#priceFilterStatus,#priceFilterStatus bdi,#customerLatestInput) {
 font-family:inherit !important; font-size:13px !important; font-weight:500 !important; line-height:1.6 !important; color:#42634e !important;
}
#customerContent #gallery #priceFilterStatus:not([hidden]) { border:0 !important; background:transparent !important; padding:0 !important; margin:0 !important; flex-basis:auto !important; }
#customerContent #gallery #customerLatestInput { width:4ch; height:auto; padding:0; border:0 !important; border-radius:0; background:transparent; box-shadow:none !important; outline:none; cursor:pointer; }
#customerContent #gallery #customerLatestInput:focus-visible { outline:1px solid #47765a; outline-offset:3px; }
#customerLatestDialog { width:min(300px,calc(100% - 32px)); box-sizing:border-box; padding:22px; border:1px solid #c4dccb; border-radius:16px; background:#fafcf9; color:#42634e; }
#customerLatestDialog::backdrop { background:#17271c55; }
#customerLatestDialog form { display:grid; gap:16px; }
#customerLatestDialog h2 { margin:0; text-align:center; font-size:17px; font-weight:600; }
#customerLatestDialog input { width:100%; box-sizing:border-box; padding:10px; border:1px solid #bdcec2; border-radius:8px; font:inherit; font-size:18px; text-align:center; background:#fff; color:#28533b; }
#customerLatestDialog p { margin:0; font-size:12px; color:#a34231; }
#customerLatestDialog .latest-count-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
#customerLatestDialog button { padding:10px; border:0; border-radius:8px; font:inherit; cursor:pointer; background:#e9eeea; color:#42634e; }
#customerLatestDialog button[type=submit] { background:#47765a; color:white; }

@media (max-width:780px) {
 #customerContent #gallery #customerCatalogFilters {
  width:100% !important; max-width:none !important; justify-content:space-between !important;
 }
}

#customerContent #gallery #customerLatestInput {
 text-decoration:underline; text-decoration-style:dashed; text-decoration-color:#739981;
 text-underline-offset:4px; cursor:pointer;
}
#customerContent #gallery #customerLatestInput:hover { text-decoration-color:#28533b; }
#customerContent #gallery .latest-edit-icon { display:inline-flex; align-items:center; margin-inline-start:-5px; color:#60836b; cursor:pointer; }
