.categories-container {
    width: 100vw;
    padding: 0;
    margin: 0;
}

.breadcrumb {
    position: sticky;
    top: 0;
    padding: 1rem 2rem 0.5rem 2rem;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    z-index:100;
}

.breadcrumb-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-search {
    margin-left: auto;
    margin-right: 0;
    display: flex;
    align-items: center;
}

.breadcrumb-search form {
    margin: 0;
}

.breadcrumb-search .search-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    min-width: 120px;
    color: var(--primaryFontColor);
}

.breadcrumb-search .search-input::placeholder {
    color: var(--secondaryFontColor);
    opacity: 1;
}

.breadcrumb-link {
    color: var(--secondaryFontColor);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--primaryFontColor);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--secondaryFontColor);
}

.breadcrumb-current {
    color: var(--primaryFontColor);
    font-weight: 500;
}

.categories-grid {
    display: flex;
    flex-direction: column;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.category-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0;
    padding: 0;
}

.categories-regular-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 0;
    padding: 0;
}

.category-card {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
}

.category-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: #f5f5f5;
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
}

.category-name {
    position: absolute;
    left: 2vw;
    top: 2vw;
    color: #000;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 900px) {
    .category-row,
    .categories-regular-grid {
        grid-template-columns: 1fr;
    }
    .category-card {
        height: auto;
    }
    .category-name {
        font-size: 1rem;
        left: 3vw;
        top: 3vw;
    }
}

@media (max-width: 768px) {
  .categories-container,
  .categories-grid {
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .categories-container .breadcrumb-search,
  .breadcrumb-row .breadcrumb-search,
  .breadcrumb-search {
    padding-right: 0 !important;
    margin-left: 0 !important;
    flex: none !important;
  }
  .breadcrumb,
  .breadcrumb-row {
    box-sizing: border-box;
    width: 100%;
    padding-right: 16px !important;
  }
} 

@media (min-width: 601px) {
  .breadcrumb-search {
    max-width: 220px;
    width: 100%;
    flex: none;
  }
  .breadcrumb-row {
    gap: 0.5rem;
    justify-content: flex-start;
  }
} 
