/**
 * QuickFilter common styles (shared by quickfilter.js-rendered UI)
 */


/* ======== custom color options start ======== */
.thumb_description .custom-color-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2px;
    margin-bottom: 6px;
    overflow: visible;
}

.thumb_description .custom-color-options .color-option {
    width: 14px;
    height: 14px;
    border: solid 1px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
}

.thumb_description .custom-color-options .color-option.selected {
    outline: solid 1.5px #C0C0C0;
    outline-offset: 1px;
}

.thumb_description .custom-color-options .color-option.custom_color_own {
    background: url(https://cdn.planetart.com/images/rectangle_customcolor.png) center no-repeat;
    background-size: 120% 120%;
    position: relative;
}
/* ======== custom color options end ======== */



/* ======== raised foil tag start ======== */
.thumb_wrapper .foil_tag {
    width: 70px;
    height: 17px;
    background: url(https://cdn.planetart.com/images/icons/icon_raised_foil.png) center no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 6px;
    left: 6px;
}
/* ======== raised foil tag end ======== */

/* desktop */
@media (min-width: 576px) {


    /* ===== custom color options tooltip start ===== */
    .thumb_description .custom-color-options .color-option.custom_color_own::before {
        content: 'More Custom Colors Available.';
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: #666;
        color: #fff;
        font-size: 10px;
        line-height: 1.3;
        white-space: nowrap;
        letter-spacing: -0.1px;
        padding: 6px 5px;
        pointer-events: none;
        z-index: 10;
    }

    .thumb_description .custom-color-options .color-option.custom_color_own::after {
        content: '';
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-bottom-color: #666;
        pointer-events: none;
        z-index: 10;
    }

    .thumb_description .custom-color-options .color-option.custom_color_own:hover::before,
    .thumb_description .custom-color-options .color-option.custom_color_own:hover::after {
        display: block;
    }
    /* ===== custom color options tooltip end ===== */
}

/* mobile */
@media (max-width: 575px) {
    .thumb_wrapper .foil_tag {
        width: 18vmin;
        height: 4.4vmin;
        top: 1.025vmin;
        left: 1.025vmin;
    }
}