.hpm-group {
    margin: 10px 0px;
}
.hpm-clearfix {
    clear: both;
}
.hpm-title {
    margin: 0;
    margin-bottom: 8px;
    padding: 0;
    font-weight: bold;
    width: 100%;
}
.hpm-type-images {
    margin: 0;
    padding: 0;
    padding-bottom: 8px;
    /* margin: 0 -3px; */
    /* width: 100%; */

    display: flex;
    flex-wrap: nowrap;

    width: auto;
    overflow-x: auto;
}

.hpm-type-images {
    scrollbar-color: #ced3d6 transparent;
    scrollbar-width: thin;
}

.hpm-type-images::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.hpm-type-images::-webkit-scrollbar-track {
    background-color: transparent;
}

.hpm-type-images::-webkit-scrollbar-thumb {
    background-color: #ced3d6;
}

@media (hover: hover) {
    .hpm-type-images::-webkit-scrollbar-thumb:hover {
        background-color: #aaafb2;
    }
}

.hpm-type-images::-webkit-scrollbar-button,
.hpm-type-images::-webkit-scrollbar-corner {
    display: none;
    height: 0;
    width: 0;
}

.hpm-type-images > a,
.hpm-type-images > div {
    display: inline-block;
    /* width: 100%; */
    /* margin: 0 3px; */
}

.hpm-type-images .hpm-item {
    margin: 0;
    padding: 0;

    cursor: pointer;
    /* border-radius: 8px; */
    /* border: 1px solid transparent; */
    float: left;
    text-align: center;
    max-width: 100px;

    color: #1d262b;
}
.hpm-type-images .hpm-item > .hcol-image {
    margin: 0;
    padding: 4px;

    border: 1px solid transparent;
    border-radius: 16px;

    width: 56px;
    height: 56px;
}
.hpm-type-images .hpm-item.active > .hcol-image {
    border-color: #1d262b;
}
.hpm-type-images .hpm-item > .hcol-image > img {
    border-radius: 12px;
    overflow: hidden;
}
.hpm-type-images .hcol-image img {
    width: 100%;
}
.hpm-type-images .hpm-item > div:not(.hcol-image) {
    margin: 0;
    margin-right: 8px;
    padding: 6px 8px 4px 8px;

    min-width: 45px;

    border-radius: 8px;

    background-color: #f1f1f1;
    color: #1d262b;

    font-size: 14px;
    line-height: 22px;
}
.hpm-type-images .hpm-item:hover > .hcol-attribute {
    background-color: #ced3d6;
}
.hpm-type-images .hpm-item.active > .hcol-attribute {
    background-color: #1d262b;
    color: #ffffff;
}
.hpm-type-images .hpm-item.active {
    /* box-shadow: 0 0 5px rgba(33, 153, 198, 0.45); */
    /* border: 2px solid rgb(33, 153, 198); */
    /* border: 1px solid #1d262b; */
    /* background-color: #f9f9f9; */
    /* border-radius: 16px; */
}
.hpm-type-images .hpm-item:hover {
    /* box-shadow: 0 0 5px rgba(33, 153, 198, 0.5); */
}
.hpm-type-images .hpm-item.disabled,
.hpm-type-html-select .hpm-item.disabled {
    opacity: 0.3;
}
.hpmodel-type-select .hpm-item.disabled {
    color: #ccc;
}
.hpm-type-html-select .hpm-select-item img {
    border-radius: 0;
    padding: 0;
    margin: 2px;
}
.hpm-select {
    cursor: pointer;
    position: relative;
    width: 100%;
}
.hpm-select .selected {
    background: url(select.png) right center no-repeat;
    display: block;
    border: 1px solid #cecece;
    background-color: #f6f6f6;
    padding: 3px 25px 3px 3px;
    color: #444;
    overflow: auto;
}
.hpm-select.open .selected {
}
.hpm-select .hpm-select-item {
    overflow: auto;
    padding: 3px;
}
.hpm-select .hcol-image {
    float: left;
    margin-right: 10px;
    padding: 2px;
    background: #fff;
    border: 1px solid #ddd;
}
.hpm-select .drop-down {
    margin: -1px 0 0 0;
    padding: 0;
    width: 100%;
    border: 1px solid #cecece;
    position: absolute;
    background: #fff;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.hpm-select .drop-down > div {
    padding: 2px 5px;
    border-bottom: 1px solid #cecece;
}
.hpm-select .drop-down > div:last-child {
    border-bottom: none;
}
.hpm-select .drop-down > div.active {
    background: #f6f6f6;
}
.hpm-select .drop-down > div:hover {
    background-color: #e8e8e8;
    color: #222;
}

.hpm-cat-box {
    margin-bottom: 5px;
}
.hpm-cat-box .hpm-type-images .hpm-cat-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
    margin: 4px;
    padding: 2px;
    box-shadow: 0 0 5px rgba(33, 153, 198, 0);
    border: 2px solid #d3d3d3;
}
.hpm-cat-box .hpm-type-images .hpm-cat-item .hpm-col-image img {
    width: 100%;
}
.hpm-cat-box .hpm-type-images .hpm-cat-item.active {
    box-shadow: 0 0 5px rgba(33, 153, 198, 0.45);
    border: 2px solid rgb(33, 153, 198);
    background-color: #f9f9f9;
}
.hpm-cat-box select {
    width: 100%;
}
.hpm-cat-box .hprice,
#hpmodel .hprice {
    font-weight: bold;
}
.hpm-cat-box .hprice-new,
#hpmodel .hprice-new {
    font-weight: bold;
}
.hpm-cat-box .hprice-old,
#hpmodel .hprice-old {
    color: #e12c31;
    text-decoration: line-through;
}
.hpm-cat-content.hpm-type-html-select .hpm-select .selected {
    padding: 0;
}
.hpm-cat-content.hpm-type-html-select .hpm-select .selected .hpm-col-none {
    padding: 2px 5px;
}
.hpm-type-html-select .hpm-select .hpm-select-item img {
    border-radius: 0;
    padding: 0;
    margin: 2px;
}
.hpm-cat-content.hpm-type-html-select .hpm-cat-item {
    border-radius: 0;
    padding: 2px 5px !important;
}
