/* General */
body {
  background: #f8f9fa;
  font-family: "Roboto", sans-serif;
  margin: 0;
  text-align: center; /* center align all text */
}

/* Header */
nav {
  background: #1A73E8 !important; /* Blue */
}

.page-title {
  margin-top: 5px;
  font-size: 2rem;
  color: #0a0004;
  font-weight: 900;
}

/* Section Header */
.section-header {
  margin-top: 10px;
  font-size: 1.25rem;
  color: #1A73E8;
  font-weight: 600;
}

.store-header {
  font-size: 2rem;
  color: #1A73E8;
  font-weight: 900;
}

/* Buttons */
.btn-dir {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff !important;
  background-color: #ffb600 !important;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-call {  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff !important;
  background-color: #1A73E8 !important;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff !important;
  background-color: #00b546 !important;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;  
}

/* Footer */
footer {
  padding: 20px 0;
}
.footer-link {
  color: #1A73E8;
  font-weight: 500;
  text-decoration: underline;
}

/* Mobile-first adjustments */
@media (max-width: 600px) {
  .card-action a {
    display: block;
    margin-bottom: 8px;
  }
}

header {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically */
  height: 100px;             /* adjust header height */
  background-color: #fff;    /* optional */
}

.brand-logo {
  width: 150px;
  height: 60px;
  background: url("https://localz.online/images/logo.png") no-repeat center center;
  background-size: contain;

  display: block;
  margin: 0 auto;  /* centers horizontally */
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* centers vertically */
  height: 100px;             /* adjust header height */
}

/* Store List */
.store-list {
  display: flex;
  flex-direction: column; /* stack cards vertically */
  align-items: center;   /* center cards horizontally */
}

/* Store Card */
.store-card {
  width: 100%;
  max-width: 90%;       /* fixed max width for nice look */
  margin: 10px 0;
  padding: 15px;
  text-align: center;     /* center align content inside */
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #E6F0FC;
}

.subcategory-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* ✅ centers chips horizontally */
  gap: 8px; /* space between chips */
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background-color: #464749;      /* outline */
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.chip:hover {
  background-color: #1f2022;
  color: #fff;
  transform: translateY(-1px);
}
.container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.collection-item a {
  color: #1A73E8;
  font-weight: 500;
  text-decoration: none;
}

/* =========================
   Collection – Modern Style
   ========================= */

/* Base container */
.collection {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 20, 30, 0.06);
}

/* Each item */
.collection .collection-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 14px 18px !important;
  font-size: 1rem;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
}

/* Remove last divider */
.collection .collection-item:last-child {
  border-bottom: 0 !important;
}

/* Links inside items */
.collection .collection-item a {
  color: #0b57d0; /* Google blue-ish */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Chevron icon helper (optional) */
.collection .collection-item a::after {
  content: "›";
  font-size: 1.1em;
  line-height: 1;
  margin-left: 2px;
  transition: transform 160ms ease;
  opacity: 0.6;
}

/* Hover/active states */
.collection .collection-item:hover {
  background: rgba(11, 87, 208, 0.05);
}
.collection .collection-item:hover a::after {
  transform: translateX(2px);
  opacity: 0.85;
}

/* Focus ring for accessibility */
.collection .collection-item a:focus {
  outline: none;
}
.collection .collection-item a:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 87, 208, 0.35);
  border-radius: 10px;
}

/* Subtle badge (use with <span class="badge">…) */
.collection .badge {
  background: rgba(11, 87, 208, 0.1);
  color: #0b57d0;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 600;
}

/* Optional leading icon style */
.collection .leading-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(11, 87, 208, 0.08);
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  flex: 0 0 auto;
}

/* Density controls */
.collection.compact .collection-item {
  padding: 10px 14px !important;
  font-size: 0.95rem;
}
.collection.comfortable .collection-item {
  padding: 16px 22px !important;
}

/* Section header (use as first li with .collection-header) */
.collection .collection-header {
  background: linear-gradient(180deg, rgba(11, 87, 208, 0.06), transparent);
  font-weight: 800;
  color: #093a9e;
  letter-spacing: 0.3px;
  font-size: 1.1rem;
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* Divider row (if needed) */
.collection .divider-row {
  padding: 8px 18px !important;
  background: #f6f8fb;
  color: #5f6368;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

/* =========================
   Grid variant (cards)
   ========================= */
/* Use: <ul class="collection grid"> … */
.collection.grid {
  display: grid;
  grid-template-columns: repeat( auto-fill, minmax(240px, 1fr) );
  gap: 14px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.collection.grid .collection-item {
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 20, 30, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}
.collection.grid .collection-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 20, 30, 0.08);
  border-color: rgba(11, 87, 208, 0.22) !important;
}

/* Make anchor fill the card area */
.collection.grid .collection-item > a {
  width: 100%;
  justify-content: space-between;
}

/* =========================
   Utilities
   ========================= */
.collection .right {
  margin-left: auto;
}

/* A11y: visible skip link if included on page */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus-visible {
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #0b57d0;
  color: #fff;
  border-radius: 8px;
  z-index: 1000;
}

/* =========================
   Dark mode (auto)
   ========================= */
@media (prefers-color-scheme: dark) {
  .collection {
    background: #0f172a; /* slate-900-ish */
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  }
  .collection .collection-item {
    border-bottom-color: rgba(255,255,255,0.06) !important;
    color: #e5e7eb;
  }
  .collection .collection-item:hover {
    background: rgba(56, 189, 248, 0.08); /* subtle cyan tint */
  }
  .collection .collection-item a {
    color: #93c5fd;
  }
  .collection .badge {
    background: rgba(147, 197, 253, 0.15);
    color: #bfdbfe;
  }
  .collection .leading-icon {
    background: rgba(147, 197, 253, 0.12);
  }
  .collection .collection-header {
    background: linear-gradient(180deg, rgba(147, 197, 253, 0.12), transparent);
    color: #c7d2fe;
    border-bottom-color: rgba(255,255,255,0.06) !important;
  }
  .collection.grid .collection-item {
    background: #111827;
    border-color: rgba(255,255,255,0.08) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  }
  .collection.grid .collection-item:hover {
    border-color: rgba(147,197,253,0.3) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.55);
  }
}

/* =========================
   Small screens
   ========================= */
@media (max-width: 480px) {
  .collection .collection-item {
    padding: 12px 14px !important;
  }
  .collection.grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
