.fr-pick {
    --pick-text: #192b3d;
    --pick-muted: #46566a;
    --pick-ink: #17384c;
    --pick-focus: #006877;
    --pick-panel: #eaf5f5;
    --pick-line: #c5d9df;
    display: grid;
    gap: 10px;
    margin-block: 12px;
    min-width: 0;
}

.fr-pick-panchroma {
    --pick-panel: #f5e7f1;
    --pick-line: #dec9dc;
    --pick-ink: #44315d;
    --pick-focus: #673b7a;
}

.fr-pick-fiberon {
    --pick-panel: #e6f1e8;
    --pick-line: #c7dacf;
    --pick-ink: #233f34;
    --pick-focus: #286247;
}

.fr-pick-posebni-pla {
    --pick-panel: #f4ecdf;
    --pick-line: #dfd2bd;
    --pick-ink: #514031;
    --pick-focus: #7a4b25;
}

.fr-pick :is(.fr-pick-shades, .fr-pick-types) {
    background: transparent;
    border: 1px solid transparent;
    border-top-color: var(--fr-surface-line);
    border-radius: 13px;
    min-width: 0;
    padding: clamp(8px, 2vw, 13px);
}

.fr-pick .fr-pick-heading {
    align-items: center;
    color: var(--pick-text);
    display: flex;
    flex-wrap: wrap;
    font-size: .88rem;
    font-weight: 800;
    gap: 4px 8px;
    margin: 0 0 8px;
}

.fr-pick-heading strong {
    background: transparent;
    border: 1px solid var(--pick-line);
    border-radius: 999px;
    color: var(--pick-ink);
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.25;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 4px 8px;
}

.fr-pick :is(ul.fr-pick-swatches, ul.fr-pick-finishes) {
    display: grid;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fr-pick ul.fr-pick-swatches {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 53px), 1fr));
}

.fr-pick ul.fr-pick-finishes {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 106px), 1fr));
}

.fr-pick :is(.fr-pick-swatches, .fr-pick-finishes) li {
    list-style: none;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.fr-pick .fr-pick-swatch {
    align-content: start;
    background: #fff;
    border: 1px solid #c5d2dc;
    border-radius: 9px;
    color: var(--pick-text);
    display: grid;
    gap: 4px;
    height: 100%;
    min-height: 61px;
    padding: 4px;
    text-decoration: none;
}

.fr-pick .fr-pick-swatch[aria-current="true"] {
    background: var(--pick-panel);
    border-color: var(--pick-focus);
    box-shadow: inset 0 0 0 1px var(--pick-focus);
}

.fr-pick .fr-pick-swatch:hover {
    border-color: var(--pick-focus);
}

.fr-pick-swatch-media {
    background: linear-gradient(139deg, #ffffff35, transparent 55%, #142e4b25), var(--pick-dye);
    border: 1px solid #192b3d38;
    border-radius: 5px;
    display: grid;
    height: 29px;
    overflow: hidden;
    place-items: center;
    position: relative;
    width: 100%;
}

.fr-pick-swatch-media.has-product-photo {
    background: #fff;
}

.fr-pick-swatch-label {
    color: inherit;
    font-size: .66rem;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
}

.fr-pick-swatch[aria-current="true"] .fr-pick-swatch-label {
    font-weight: 800;
}

.fr-pick .fr-pick-swatch-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.fr-pick .fr-pick-swatch-media.has-product-photo img {
    object-fit: contain;
}

.fr-pick-check {
    align-items: center;
    background: var(--pick-ink);
    border: 1px solid #fff;
    border-radius: 50%;
    display: grid;
    height: 16px;
    justify-items: center;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 16px;
    z-index: 1;
}

.fr-pick-check::after {
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    height: 7px;
    margin-bottom: 2px;
    transform: rotate(45deg);
    width: 4px;
}

.fr-pick .fr-pick-swatch.is-backorder .fr-pick-swatch-media {
    border-style: dashed;
}

.fr-pick .fr-pick-swatch.is-unavailable {
    border-style: dashed;
    color: var(--pick-muted);
}

.fr-pick-swatch.is-unavailable .fr-pick-swatch-media::after {
    background: linear-gradient(149deg, transparent calc(50% - 2px), #fff 0 calc(50% - 1px), #223345 0 calc(50% + 1px), #fff 0 calc(50% + 2px), transparent 0),
        #f7f9fc42;
    content: "";
    inset: 0;
    position: absolute;
}

.fr-pick p.fr-pick-legend {
    color: var(--pick-muted);
    font-size: .73rem;
    line-height: 1.4;
    margin: 7px 0 0;
}

.fr-pick .fr-pick-finish {
    align-items: center;
    background: #fff;
    border: 1px solid var(--pick-line);
    border-radius: 8px;
    color: var(--pick-text);
    display: flex;
    font-size: .76rem;
    font-weight: 760;
    gap: 5px;
    height: 100%;
    line-height: 1.2;
    min-height: 44px;
    padding: 5px 6px;
    text-decoration: none;
}

.fr-pick .fr-pick-finish.is-active {
    background: linear-gradient(145deg, var(--pick-ink), #1f3049);
    border-color: var(--pick-ink);
    color: #fff;
    justify-content: center;
    text-align: center;
}

.fr-pick .fr-pick-finish.is-unavailable {
    border-style: dashed;
}

.fr-pick-finish-image {
    background: #fff;
    border-radius: 5px;
    display: block;
    flex: 0 0 26px;
    height: 26px;
    overflow: hidden;
}

.fr-pick .fr-pick-finish-image img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.fr-pick-finish-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.fr-pick .fr-pick-finish small {
    color: var(--pick-muted);
    display: block;
    font-size: .62rem;
    font-weight: 600;
    line-height: 1.25;
}

.fr-pick a.fr-pick-finish:hover {
    border-color: var(--pick-focus);
    color: var(--pick-ink);
}

.fr-pick :is(.fr-pick-swatch, .fr-pick-finish):focus-visible {
    outline: 2px solid var(--pick-focus);
    outline-offset: 1px;
}
