/* ============================================================
   Explore Blocks — ProductCountsBlock (pcb-*) + CarLocationBox (clb-*)
   Brand colors:
     Blue    #25639c  |  Blue Dark  #1a4f82  |  Blue Light  #e8f0f8
     Orange  #ff6c2c  |  Orange Dark #ee3824
   ============================================================ */

/* ════════════════════════════════════════
   ProductCountsBlock  (pcb-*)
   ════════════════════════════════════════ */

.pcb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--clr-white);
  border: 1px solid var(--clr-blue-light);
  border-radius: 14px;
  padding: 12px 18px;
  margin-top: 16px;
  box-shadow: var(--shadow-blue-sm);
  gap: 12px;
  flex-wrap: wrap;
}

/* Left — count badge + label */
.pcb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pcb-count-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--grad-blue);
  color: var(--clr-white);
  border-radius: 10px;
  padding: 6px 13px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue-md);
}

.pcb-label {
  color: var(--clr-text-mid);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Right — sort dropdown */
.pcb-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pcb-sort-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--clr-blue-bg);
  border: 1.5px solid var(--clr-border-blue);
  border-radius: 10px;
  padding: 5px 10px 5px 12px;
  transition: border-color var(--trans-fast);
}

.pcb-sort-wrap:focus-within {
  border-color: var(--clr-blue);
}

.pcb-sort-icon {
  color: var(--clr-blue);
  flex-shrink: 0;
}

.pcb-sort-select {
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--clr-blue);
  padding: 3px 4px;
  cursor: pointer;
  outline: none;
  min-width: 140px;
}

.pcb-sort-select option {
  color: var(--clr-kim-label);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
  .pcb-bar {
    padding: 10px 14px;
  }
  .pcb-count-badge {
    font-size: 13.5px;
    padding: 5px 10px;
  }
  .pcb-label {
    font-size: 12.5px;
  }
  .pcb-sort-select {
    min-width: 110px;
    font-size: 12.5px;
  }
}


/* ════════════════════════════════════════
   CarLocationBox  (clb-*)
   ════════════════════════════════════════ */

.clb-wrapper {
  margin-top: 14px;
  position: relative;
}

/* Scrollable row */
.clb-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.clb-track::-webkit-scrollbar {
  display: none;
}

/* Individual type button */
.clb-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 11px;
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border-blue);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 78px;
  transition: border-color var(--trans-fast), background var(--trans-fast), box-shadow var(--trans-fast),
    transform 0.12s;
  box-shadow: 0 1px 4px rgba(37, 99, 156, 0.06);
}

.clb-item:hover {
  border-color: var(--clr-blue);
  background: var(--clr-blue-hover);
  box-shadow: 0 3px 10px rgba(37, 99, 156, 0.14);
  transform: translateY(-1px);
}

.clb-item--active {
  background: var(--grad-blue);
  border-color: var(--clr-blue-dark);
  box-shadow: var(--shadow-blue-md);
  transform: translateY(-1px);
}

.clb-item--active:hover {
  background: linear-gradient(135deg, var(--clr-blue-dark), var(--clr-blue));
}

/* Icon container */
.clb-icon {
  width: 52px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clb-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clb-item--active .clb-icon img {
  filter: brightness(0) invert(1);
}

/* Label */
.clb-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--clr-fsb-pill-text);
  line-height: 1;
}

.clb-item--active .clb-label {
  color: var(--clr-white);
}
