/* Shop hub (/shop/categories) and collections index — desktop and mobile */

/* ---------- Desktop ---------- */
.be-cats { padding-block: 40px 24px; }
.be-cats__head { text-align: center; margin-bottom: 32px; }
.be-cats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.be-cat {
    display: flex;
    flex-direction: column;
    background: var(--be-white);
    border: 1px solid var(--be-line);
    border-radius: 20px;
    overflow: hidden;
}
.be-cat__img { display: block; aspect-ratio: 16 / 9; background: var(--be-blush); overflow: hidden; }
.be-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.be-cat:hover .be-cat__img img { transform: scale(1.04); }
.be-cat__img.is-art img { padding: 16px; object-fit: contain; mix-blend-mode: multiply; }
.be-cat__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; flex: 1; }
.be-cat__body h2 { margin: 0; font-family: var(--be-font-display); font-size: 22px; font-weight: 700; }
.be-cat__body h2 a { color: inherit; text-decoration: none; }
.be-cat__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.be-cat__links a {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--be-blush);
    color: var(--be-ink);
    font-size: 13px;
    text-decoration: none;
}
.be-cat__links a:hover, .be-cat__links a:focus-visible { background: var(--be-coral); color: #fff; }
.be-cat__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--be-maroon);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.be-cats__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; }
.be-cats__bundles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* ---------- Mobile ---------- */
.be-mshop__shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0 8px;
}
.be-mworld {
    border-bottom: 1px solid var(--be-line);
}
.be-mworld > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
}
.be-mworld > summary::-webkit-details-marker { display: none; }
.be-mworld > summary svg { transition: transform .2s ease; }
.be-mworld[open] > summary svg { transform: rotate(180deg); }
.be-mworld__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
    padding: 4px 0 18px;
}
.be-mworld__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--be-ink);
    text-decoration: none;
    text-align: center;
}
.be-mworld__img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    background: var(--be-blush);
    overflow: hidden;
}
.be-mworld__img img { width: 100%; height: 100%; object-fit: cover; }
.be-mworld__img.is-art img { padding: 8px; object-fit: contain; mix-blend-mode: multiply; }
.be-mworld__label { font-size: 12px; line-height: 1.25; }
.be-mworld__item--all .be-mworld__label { font-weight: 600; color: var(--be-maroon); }
.be-mshop__brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 10px;
    justify-items: center;
}
@media (min-width: 600px) {
    .be-mworld__grid { grid-template-columns: repeat(6, 1fr); }
    .be-mshop__brands { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Collections index ---------- */
.be-colls {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.be-coll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--be-ink);
    text-decoration: none;
}
.be-coll__img { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--be-blush); }
.be-coll__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.be-coll:hover .be-coll__img img { transform: scale(1.04); }
.be-coll__title { font-weight: 600; font-size: 16px; }
.be-coll__count { color: var(--be-muted); font-size: 13px; }
.be-m-wrap .be-colls { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
.be-m-wrap .be-coll__img { border-radius: 16px; }
.be-m-wrap .be-coll__title { font-size: 14px; }
