#bonattribute {
    display: none;
}

.product-miniature.product-one #bonattribute {
    display: block;
}

#bonattribute .bonattribute-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 100px;
    overflow-y: scroll;
}

.product-miniature.product-one #bonattribute .bonattribute-container {
    justify-content: start;
    max-height: 100%;
}

#bonattribute .bonattribute-box {
    margin: 0 5px 15px;
}

#bonattribute .bonattribute-box select {
    margin-bottom: 10px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.14);
}

#bonattribute .bonattribute-btn {
    padding: 5px 5px;
}

#bonattribute .bonattribute-btn.radio,
#bonattribute .bonattribute-btn.select {
    box-shadow: 4px 4px 4px rgb(0 0 0 / 14%);
    background: #fff;
    white-space: nowrap;
    font-weight: 400;
    color: #b2b2b2;
    font-size: 13px;
    min-width: 33px;
    padding: 6px 8px;
    text-align: center;
    line-height: 1.3;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: all 0.3s linear;
}

#bonattribute .bonattribute-box .bon-attribute-disabled,
#bonattribute .bonattribute-box .bon-attribute-disabled:hover,
.bon-attribute-disabled span.color:before,
.bon-attribute-disabled span.radio-label:before {
    /* border-color: transparent; */
    box-shadow: none;
    color: rgba(16, 16, 16, 0.3);
}

#bonattribute .bonattribute-box .active,
#bonattribute .bonattribute-btn:hover {
    border-color: #3a3a3a;
    box-shadow: none;
    color: #3a3a3a;
}

#bonattribute .bonattribute-btn.color {
    margin: 0;
}

#bonattribute .bon-attribute-disabled {
    position: relative;
}

#bonattribute .bon-attribute-disabled:hover {
    border-color: rgba(0, 0, 0, 0.125);
}

.bon-attribute-disabled span.color:after,
.bon-attribute-disabled span.radio-label:after {
    content: '' !important;
}

#bonattribute .bon-attribute-disabled:before,
#bonattribute .bon-attribute-disabled:before,
.bon-attribute-disabled span.color:before,
.bon-attribute-disabled span.radio-label:before {
    content: '';
    background-image: linear-gradient(to bottom left, transparent 50%, #b2b2b2 50%, #b2b2b2 calc(50% + 1px), transparent 50%), linear-gradient(to bottom right, transparent 50%, #b2b2b2 50%, #b2b2b2 calc(50% + 1px), transparent 50%);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.7;
    position: absolute;
    border-radius: 5px;
}

.product-actions .bon-attribute-disabled.input-container label span.check,
.product-actions .bon-attribute-disabled.input-container label:hover span.radio-label {
    border-color: rgba(0, 0, 0, .125) !important;
    color: #b2b2b2 !important;
    box-shadow: none;
}

.bon-attribute-disabled span.color:before {
    margin-bottom: 6px;
}

#bonattribute .bonattribute-btn:focus {
    outline: none !important;
}

.bonattribute-btn.color.active {
    position: relative;
}

.bonattribute-btn.color.active:after {
    content: "\E876";
    font-family: Material Icons;
    color: #fff;
    font-size: 25px;
    position: absolute;
    left: 4px;
    top: 6px;
}

@media screen and (min-width: 1280px) {
    .thumbnail-container:hover #bonattribute {
        display: block;
    }
}
@media screen and (max-width: 1279px) {
    #bonattribute .bonattribute-container {
        max-height: 53px;
    }

    #bonattribute .bonattribute-btn {
        font-size: 15px;
    }
}

@media screen and (max-width: 992px) {
    #bonattribute .bonattribute-btn {
        font-size: 13px;
    }
}