/* =========================================================
   HOMEPAGE — Popular Stores & Categories (limited + View All)
   ========================================================= */

.home-taxonomies-section {
   padding: 56px 0 64px;
}

.home-stores-section {
   padding-top: 48px;
}

.home-taxonomies-heading {
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 16px;
   margin-bottom: 28px;
}

.home-taxonomies-heading-text {
   min-width: 0;
}

.home-taxonomies-eyebrow {
   display: block;
   margin-bottom: 6px;
   font-size: 12px;
   font-weight: 700;
   letter-spacing: 0.08em;
   text-transform: uppercase;
   color: #d377b0;
}

.home-taxonomies-title {
   text-align: left;
   margin: 0;
}

.home-taxonomies-viewall {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 10px 18px;
   border: 1.5px solid rgba(211, 119, 176, 0.35);
   border-radius: 999px;
   background: #fff;
   color: #b95794;
   font-size: 14px;
   font-weight: 700;
   text-decoration: none;
   white-space: nowrap;
   transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.home-taxonomies-viewall svg {
   width: 15px;
   height: 15px;
   transition: transform 0.18s ease;
}

.home-taxonomies-viewall:hover {
   background: rgba(211, 119, 176, 0.1);
   border-color: #d377b0;
   color: #b95794;
   transform: translateY(-1px);
}

.home-taxonomies-viewall:hover svg {
   transform: translateX(3px);
}

.home-category-grid {
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 14px;
   list-style: none;
   margin: 0;
   padding: 0;
}

.home-category-card {
   display: flex;
   flex-direction: column;
   gap: 6px;
   min-height: 100%;
   padding: 16px 18px;
   border: 1px solid rgba(26, 26, 46, 0.08);
   border-radius: 16px;
   background: #fff;
   box-shadow: 0 8px 24px rgba(26, 26, 46, 0.05);
   text-decoration: none;
   transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-category-card:hover {
   transform: translateY(-2px);
   border-color: rgba(211, 119, 176, 0.35);
   box-shadow: 0 14px 32px rgba(211, 119, 176, 0.12);
}

.home-category-card__name {
   font-size: 15px;
   font-weight: 700;
   line-height: 1.35;
   color: #1a1a2e;
   overflow-wrap: anywhere;
}

.home-category-card__meta {
   font-size: 12px;
   font-weight: 600;
   color: #6b7280;
}

.home-stores-grid.top-stores-main {
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 18px;
}

.home-stores-grid .index-str {
   min-width: 0;
}

.home-stores-grid .index-str-title {
   overflow-wrap: anywhere;
}

@media (max-width: 991px) {
   .home-category-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
   }

   .home-stores-grid.top-stores-main {
      grid-template-columns: repeat(3, minmax(0, 1fr));
   }
}

@media (max-width: 767px) {
   .home-taxonomies-section {
      padding: 40px 0 48px;
   }

   .home-taxonomies-heading {
      margin-bottom: 22px;
   }

   .home-category-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
   }

   .home-stores-grid.top-stores-main {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
   }
}

@media (max-width: 520px) {
   .home-taxonomies-heading {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
   }

   .home-taxonomies-viewall {
      width: 100%;
      justify-content: center;
   }

   .home-category-grid {
      grid-template-columns: 1fr;
   }

   .home-stores-grid.top-stores-main {
      grid-template-columns: 1fr;
   }
}
