/* Nove Shop toolbar, plus the sort select and column switch shared with the title and the filter bar. */
.nv-stool--full {
    border-top: 1px solid var(--nv-w-stool-line, var(--nv-line, #000));
    border-bottom: 1px solid var(--nv-w-stool-line, var(--nv-line, #000))
}

.nv-stool__in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    min-height: 56px;
    color: var(--nv-w-stool-text, var(--nv-ink, #000))
}

.nv-stool--container .nv-stool__in {
    border-top: 1px solid var(--nv-w-stool-line, var(--nv-line, #000));
    border-bottom: 1px solid var(--nv-w-stool-line, var(--nv-line, #000))
}

.nv-stool__start,
.nv-stool__end {
    display: flex;
    align-items: center;
    gap: 24px
}

.nv-w .nv-stool__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: inherit
}

.nv-w .nv-stool__toggle:hover {
    text-decoration: none
}

.nv-stool__toggle:hover span {
    text-decoration: underline;
    text-underline-offset: 4px
}

/* The filter icon: its top line moves right and the bottom one left on hover. */
.nv-stool__toggle .nv-icon path {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    transition: transform .45s var(--nv-ease, cubic-bezier(.2, .7, .2, 1))
}

.nv-stool__toggle:hover .nv-icon path:nth-child(1) {
    transform: translateX(3px)
}

.nv-stool__toggle:hover .nv-icon path:nth-child(3) {
    transform: translateX(-3px)
}

.nv-stool__off,
.nv-stool__sm {
    display: none
}

.nv-stool__toggle[aria-expanded=false] .nv-stool__on {
    display: none
}

.nv-stool__toggle[aria-expanded=false] .nv-stool__off {
    display: inline
}

.nv-stool__count {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase
}

/* Sort select. */
.nv-ssort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0
}

.nv-ssort__label {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--nv-muted, #6b6b6b);
    white-space: nowrap
}

.nv-ssort__select {
    height: 40px;
    max-width: 220px;
    padding: 0 28px 0 10px;
    border: 0;
    border-radius: 0;
    background-color: var(--nv-paper, #fff);
    color: var(--nv-ink, #000);
    font-family: inherit;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer
}

.nv-ssort__select:focus-visible {
    outline: 1px solid var(--nv-ink, #000);
    outline-offset: 0
}

.nv-ssort__go {
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--nv-ink, #000);
    background: var(--nv-ink, #000);
    color: var(--nv-paper, #fff);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase
}

/* Column switch: one button per column count with that many bars. */
.nv-scols {
    display: flex;
    align-items: center
}

.nv-w .nv-scols__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 44px;
    height: 40px;
    margin-left: -1px;
    border: 1px solid var(--nv-line, #000);
    background: var(--nv-paper, #fff);
    color: var(--nv-ink, #000);
    transition: background-color .35s ease, color .35s ease
}

.nv-w .nv-scols__btn:not([aria-pressed=true]):hover {
    background: var(--nv-ink, #000);
    color: var(--nv-paper, #fff)
}

.nv-scols__btn:first-child {
    margin-left: 0
}

.nv-scols__bar {
    display: block;
    width: 4px;
    height: 16px;
    background: currentColor
}

.nv-scols__btn[data-nv-cols="2"] .nv-scols__bar {
    width: 7px
}

.nv-scols__btn[data-nv-cols="3"] .nv-scols__bar {
    width: 5px
}

.nv-scols--thin .nv-scols__btn {
    gap: 2px
}

.nv-scols--thin .nv-scols__btn .nv-scols__bar {
    width: 3px
}

.nv-w .nv-scols__btn[aria-pressed=true] {
    background: var(--nv-ink, #000);
    color: var(--nv-paper, #fff)
}

.nv-w .nv-scols__btn:focus-visible {
    outline: 2px solid var(--nv-ink, #000);
    outline-offset: 2px;
    position: relative;
    z-index: 1
}

/* Grid or list switch. */
.nv-sview {
    display: flex
}

.nv-w .nv-sview__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    margin-left: -1px;
    border: 1px solid var(--nv-line, #000);
    background: var(--nv-paper, #fff);
    color: var(--nv-ink, #000);
    transition: background-color .35s ease, color .35s ease
}

.nv-w .nv-sview__btn:not([aria-current]):hover {
    background: var(--nv-ink, #000);
    color: var(--nv-paper, #fff);
    text-decoration: none
}

.nv-sview__btn:first-child {
    margin-left: 0
}

.nv-w .nv-sview__btn[aria-current] {
    background: var(--nv-ink, #000);
    color: var(--nv-paper, #fff)
}

@media (max-width:900px) {
    .nv-scols {
        display: none
    }

    .nv-stool__toggle .nv-stool__on,
    .nv-stool__toggle .nv-stool__off,
    .nv-stool__toggle[aria-expanded=false] .nv-stool__off {
        display: none
    }

    .nv-stool__sm {
        display: inline
    }

    .nv-stool--sort-wide .nv-stool__sort {
        display: none
    }

    .nv-stool__in {
        flex-wrap: nowrap
    }

    .nv-stool__end {
        gap: 12px;
        min-width: 0
    }

    .nv-ssort__select {
        max-width: 160px
    }

    .nv-ssort__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap
    }
}

@media (prefers-reduced-motion:reduce) {

    .nv-stool__toggle .nv-icon path,
    .nv-w .nv-scols__btn,
    .nv-w .nv-sview__btn {
        transition: none
    }
}