/* VEJA HOME V46.34 — NUN-style circular category presentation.
   The frame stays still; only its photo is zoomed and cropped on hover.
   Scoped to the storefront category strip; no checkout/admin styles. */
.category-strip {
    background: #fff;
    padding-block: clamp(20px, 2.2vw, 32px) clamp(24px, 2.65vw, 38px);
}

.category-strip .category-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(115px, 1fr);
    grid-template-columns: none;
    align-items: start;
    gap: clamp(12px, 1.35vw, 24px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-block: 4px 9px;
}

.category-strip .category-scroll::-webkit-scrollbar {
    display: none;
}

.category-strip .category-circle.vh4634-category {
    display: flex;
    flex-direction: column;
    flex: initial;
    min-width: 0;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    scroll-snap-align: start;
    color: #242120;
    font-family: 'DM Sans', 'Manrope', Arial, sans-serif;
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 550;
    line-height: 1.35;
    letter-spacing: -0.018em;
    text-align: center;
    text-decoration: none;
}

/* Visible border and drop-shadow belong to the stationary OUTER frame. */
.category-strip .category-circle .vh4634-category-media {
    display: block;
    width: min(100%, 146px);
    max-width: 146px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    border: 3px solid #fff;
    border-radius: 50%;
    overflow: hidden;
    background: #f1eeea;
    box-shadow: 0 0 0 1px rgba(123, 104, 88, .17), 0 9px 24px rgba(41, 34, 27, .09);
    transform: none !important;
    transition: box-shadow .28s ease, border-color .28s ease;
    isolation: isolate;
}

/* Override the older V46.31 rule that scaled the entire <img> element,
   including its frame. Here the image alone moves inside its clipped frame. */
.category-strip .category-circle .vh4634-category-media > img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    margin: 0;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    object-fit: cover;
    object-position: center;
    transform: scale(1) translateZ(0);
    transform-origin: center center;
    transition: transform .6s cubic-bezier(.2,.7,.2,1) !important;
}

.category-strip .category-circle:hover .vh4634-category-media > img,
.category-strip .category-circle:focus-visible .vh4634-category-media > img {
    transform: scale(1.095) translateZ(0);
}

.category-strip .category-circle:hover .vh4634-category-media,
.category-strip .category-circle:focus-visible .vh4634-category-media {
    box-shadow: 0 0 0 1px rgba(125, 90, 67, .26), 0 11px 28px rgba(41, 34, 27, .12);
}

.category-strip .category-circle .vh4634-category-label {
    display: block;
    width: 100%;
    max-width: 132px;
    padding-inline: 3px;
    min-height: 2.7em;
    overflow-wrap: break-word;
    text-wrap: balance;
    color: inherit;
    transition: color .2s ease;
}

.category-strip .category-circle:hover .vh4634-category-label {
    color: #7f1745;
}

.category-strip .category-circle:focus-visible {
    outline: 2px solid #8b3156;
    outline-offset: 5px;
    border-radius: 6px;
}

@media (max-width: 940px) {
    .category-strip .category-scroll {
        grid-auto-columns: minmax(108px, 1fr);
        gap: 15px;
    }
    .category-strip .category-circle .vh4634-category-media {
        width: min(100%, 124px);
        max-width: 124px;
    }
}

@media (max-width: 700px) {
    .category-strip {
        padding-block: 17px 22px;
    }
    .category-strip .category-scroll {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 100px;
        grid-template-columns: none;
        justify-content: start;
        gap: 14px;
        overflow-x: auto;
        padding: 3px 2px 8px;
    }
    .category-strip .category-circle.vh4634-category {
        width: 100%;
        flex: initial;
        gap: 10px;
        font-size: 11px;
        line-height: 1.3;
    }
    .category-strip .category-circle .vh4634-category-media {
        width: 96px;
        max-width: 96px;
        border-width: 2px;
    }
    .category-strip .category-circle .vh4634-category-label {
        max-width: 100px;
        min-height: 2.6em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-strip .category-circle .vh4634-category-media,
    .category-strip .category-circle .vh4634-category-media > img,
    .category-strip .category-circle .vh4634-category-label {
        transition: none !important;
    }
}
