    /* Directory Search */
.directory-search input {
  width: 100%;
  max-width: 520px;
  padding: .95rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all .2s ease;
}

.directory-search input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

/* Category Grid */
.category-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.category-card {
  padding: 1rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

/* Results Grid */
.results-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.results {
  padding: 3rem 0;
  background: #f9fafb;
}

.card-business {
  position: relative;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all .25s ease;
  border: 1px solid transparent;
}

.card-business:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

.card-business h3 {
  font-size: 1.1rem;
  margin-bottom: .4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.card-business p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-soft);
}

.card-business .badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2px;
}

.badge-verified {
  background: rgba(250, 204, 21, 0.15);
  color: #a16207;
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.badge-claimed {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.3);
}
/* ==========================
   ADD BUSINESS SECTION
========================== */

.add-business{
    padding:5rem 0;
    background:#fff;
    text-align:center;
    border-top:1px solid var(--border);
}

.add-business .container{
    max-width:900px;
}

.add-business h2{
    margin-bottom:1rem;
    font-size:clamp(2rem,4vw,3rem);
    font-weight:800;
    color:var(--text-strong);
    line-height:1.15;
}

.add-business p{
    max-width:750px;
    margin:0 auto 2rem;
    font-size:1.05rem;
    line-height:1.8;
    color:var(--text-soft);
}

.add-business .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

/* ==========================
   DIRECTORY CONTENT
========================== */

.directory-content{
    padding:5rem 0;
    background:var(--bg-soft);
}

.directory-content .container{
    max-width:900px;
}

.directory-content h2{
    text-align:center;
    margin-bottom:2rem;
    font-size:clamp(2rem,4vw,3rem);
    font-weight:800;
    color:var(--text-strong);
    line-height:1.15;
}

.directory-content p{
    margin-bottom:1.5rem;
    font-size:1.05rem;
    line-height:1.9;
    color:var(--text-soft);
}

.directory-content p:last-child{
    margin-bottom:0;
}

/* ==========================
   MOBILE
========================== */

@media (max-width:768px){

    .add-business,
    .directory-content{
        padding:4rem 0;
    }

    .add-business p,
    .directory-content p{
        font-size:1rem;
    }

}

.category-search {
  position: relative;
  margin-bottom: 25px;
}

#categorySearchInput {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}


.unified-suggestions {
  position: absolute;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  width: 100%;
  top: 100%;
  left: 0;
  margin-top: 8px;
  display: none;
  z-index: 50;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.unified-suggestion-item {
  padding: 11px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background .15s ease;
}

.unified-suggestion-item:hover {
  background: #f3f6ff;
}

.unified-suggestion-category {
  font-weight: 600;
  color: #005fcc;
}

.unified-suggestion-business {
  color: #333;
}

.category-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 60%);
  opacity: 0;
  transition: opacity .2s ease;
}

.category-card:hover::after {
  opacity: 1;
}
.categories,
.results,
.directory-content,
.add-business {
  position: relative;
}

.results-meta {
  margin: 1rem 0 0;
  color: var(--text-soft);
  font-size: .95rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* DESKTOP = 4 */
  gap: 1rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================
   CATEGORY TILE
============================ */

.category-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}

/* Hover (desktop only effect naturally) */
.category-tile:hover {
  transform: scale(1.03);
}

/* ============================
   IMAGE
============================ */

.category-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Mobile tighter crop */
@media (max-width: 600px) {
  .category-tile img {
    aspect-ratio: 1 / 1;
  }
}

/* ============================
   LABEL OVERLAY
============================ */

.category-tile span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background: rgba(0, 0, 0, 0.6);
  color: #fff;

  font-weight: 600;
  padding: 0.5rem;
  font-size: 0.95rem;
}

/* ============================
   TOUCH OPTIMISATION
============================ */

.category-tile {
  -webkit-tap-highlight-color: transparent;
}
/* =========================
   ADD BUSINESS BUTTON
========================= */

.Abtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:.72rem 1.15rem;

  background:linear-gradient(
    135deg,
    #14b8a6,
    #0f766e
  );

  color:#fff;
  text-decoration:none;

  font-size:.92rem;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1;

  border-radius:10px;

  box-shadow:
    0 6px 18px rgba(20,184,166,.22),
    inset 0 1px 0 rgba(255,255,255,.12);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;

  cursor:pointer;
  border:none;
  white-space:nowrap;
}

/* Hover */
.Abtn:hover{
  transform:translateY(-1px);

  background:linear-gradient(
    135deg,
    #2dd4bf,
    #0f766e
  );

  box-shadow:
    0 10px 22px rgba(20,184,166,.28),
    inset 0 1px 0 rgba(255,255,255,.16);
}

/* Active */
.Abtn:active{
  transform:translateY(0);
}

/* Focus */
.Abtn:focus-visible{
  outline:3px solid rgba(20,184,166,.28);
  outline-offset:2px;
}

/* Mobile */
@media (max-width:768px){

  .Abtn{
    padding:.8rem 1rem;
    font-size:.9rem;
    border-radius:9px;
  }

}
