.info-cards-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px; /* Extra space for scrollbar if visible */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  max-width: 100%;
}

.info-cards-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.info-card-item {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  flex-shrink: 0; /* Prevent cards from shrinking */
  min-width: 160px;
}

.dark .info-card-item {
  background: #1f2226;
  border-color: #2d3235;
}

.info-card-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.info-card-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  flex-shrink: 0;
}

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

.info-card-content {
  display: flex;
  flex-direction: column;
}

.info-card-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: #647e87;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}

.info-card-value {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.dark .info-card-value {
  color: #fff;
}

/* Remove old mobile stacking queries */

.info-card-branding {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 1px 3px rgba(185, 28, 28, 0.2);
  flex: 1; /* Grow to fill space */
  min-width: 280px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.info-card-branding::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.branding-text {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.branding-text strong {
  font-style: normal;
  font-weight: 700;
  color: #fff;
  text-transform: lowercase;
}

@media (max-width: 640px) {
  .info-card-branding {
    flex: 0 0 auto;
    min-width: 240px;
  }
  .branding-text {
    font-size: 12px;
  }
}

/* Visitor location bar (under the info cards) */
.info-loc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: -24px;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 1.4;
  color: #647e87;
}

.info-loc-bar[hidden],
.info-loc-btn[hidden] {
  display: none;
}

.info-loc-icon {
  font-size: 16px;
  color: #b91c1c;
}

.info-loc-text strong {
  color: #111827;
  font-weight: 700;
}

.dark .info-loc-text strong {
  color: #fff;
}

.info-loc-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #b91c1c;
  cursor: pointer;
}

.info-loc-btn:hover,
.info-loc-btn:focus-visible {
  text-decoration: underline;
}

.info-loc-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.info-loc-status:empty {
  display: none;
}
