.products-page > .category-navigation {
    width: 100%;
    max-width: 1480px;
    margin-inline: auto;
    padding: 28px clamp(20px, 4vw, 64px) 0;
    box-sizing: border-box;
}

.category-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 14px;
    color: #666;
}

.category-breadcrumbs a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ========================================================
   CATEGORY CHILDREN SECTION (Matches /categories Page Design)
   ======================================================== */

.category-children {
    padding-bottom: 36px;
    border-bottom: 1px solid #e5e0d9;
    margin-bottom: 24px;
}

.category-children-eyebrow {
    margin: 0 0 10px;
    color: #956a43;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.category-children h2 {
    margin: 0 0 24px;
    font-size: clamp(22px, 3vw, 30px);
    color: #1a1714;
    font-weight: 500;
}

/* Grid: automatically places cards in clean columns (max 240px wide each) */
.category-children-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 240px));
    column-gap: 24px;
    row-gap: 32px;
    width: 100%;
}

/* ========================================================
   CATEGORY CARD (Exact 1:1 match with /categories)
   ======================================================== */

.category-children .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 240px;
    margin: 0;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

/* 1:1 Square Image */
.category-children .category-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f2eb;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.category-children .category-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-children .category-card:hover .category-image {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.category-children .category-card:hover .category-image img {
    transform: scale(1.05);
}

/* Fallback & Placeholder */
.category-children .category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    text-align: center;
    color: #8c7355;
    background: linear-gradient(135deg, #f8f4ee 0%, #ede6dc 100%);
    font-size: 13px;
    font-weight: 600;
}

.category-children .category-placeholder i {
    font-size: 28px;
    opacity: 0.6;
}

.category-children .category-fallback-placeholder {
    display: none;
    position: absolute;
    inset: 0;
}

.category-children .category-image img.img-load-error {
    display: none;
}

.category-children .category-image img.img-load-error + .category-fallback-placeholder {
    display: flex;
}

/* Category Title (Centered Underneath) */
.category-children .category-name {
    margin: 14px 0 0 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: #262626;
    text-align: center;
    transition: color 0.2s ease;
    word-break: break-word;
}

.category-children .category-card:hover .category-name {
    color: #8c6b3e;
}

/* Responsive */
@media (max-width: 768px) {
    .category-children-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        column-gap: 16px;
        row-gap: 24px;
    }

    .category-children .category-name {
        font-size: 14px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .products-page > .category-navigation {
        padding-top: 20px;
    }

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

    .category-children .category-image {
        border-radius: 10px;
    }

    .category-children .category-name {
        font-size: 13px;
        margin-top: 8px;
    }
}
