.cat-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 160px 32px 80px;
}

.cat-breadcrumb {
    font-size: 0.8125rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 28px;
    padding-left: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-breadcrumb-link {
    color: #666;
    text-decoration: none;
}

.cat-breadcrumb-link:hover {
    color: #111;
}

.cat-breadcrumb-sep {
    color: #bbb;
}

.cat-breadcrumb-current {
    color: #111;
}

/* 4-column grid; inserts fill one cell */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    row-gap: 40px;
}

/* PRODUCT CARD */
.cat-item {
    padding: 0 12px;
}

.cat-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cat-item-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 14px;
}

.cat-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cat-item-link:hover .cat-item-img {
    transform: scale(1.03);
}

.cat-item-img-placeholder {
    width: 100%;
    height: 100%;
    background: #ebebeb;
}

.cat-item-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #333;
    text-align: center;
    padding: 16px;
}

.cat-item-info {
    padding: 0 2px;
}

.cat-item-name {
    font-family: 'segoe-ui';
    font-size: 0.9375rem;
    font-weight: 400;
    margin-bottom: 4px;
    color: #111;
}

.cat-item-desc {
    font-family: 'segoe-ui';
    font-size: 0.8125rem;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.4;
}

.cat-item-price {
    font-family: 'segoe-ui';
    font-size: 0.8125rem;
    color: #555;
}

/* SEARCH RESULT HEADING */
.search-result-heading {
    text-align: center;
    font-size: 0.9375rem;
    color: #333;
    margin-bottom: 40px;
}

.search-result-empty {
    text-align: center;
    padding: 60px 0;
    color: #555;
    font-size: 0.9375rem;
}

/* INSERT IMAGE — occupies one grid cell, image fills full card height (image + info area) */
.cat-insert {
    padding: 0 12px;
    align-self: stretch;
    display: flex;
}

.cat-insert-link {
    display: flex;
    width: 100%;
}

.cat-insert-img {
    width: 100%;
    object-fit: cover;
    display: block;
}

/* PAGINATION */
.cat-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 48px 0 64px;
}

.cat-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.8125rem;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.cat-page-btn:hover {
    border-bottom-color: #111;
}

.cat-page-btn--active {
    border-bottom: 1px solid #111;
}

.cat-page-btn--disabled {
    color: #ccc;
    cursor: default;
}

/* DESCRIPTION SECTION */
.cat-description {
    max-width: 800px;
    margin: 0 auto 80px;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #333;
    text-align: left;
}

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

@media (max-width: 680px) {
    .cat-section {
        padding: 80px 16px 60px;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .cat-item,
    .cat-insert {
        padding: 0 6px;
    }
}
