.hpm-block {
  --active-border: #f90;

  --hover-border: #3ecdf5;

  --out-of-stock: #ffcccb;
}

a.hpm-button,
span.hpm-button {
  border: 2px solid #f4f4f4;
  color: #f4f4f4;
  padding: 10px 17px;
  font-size: 12px;
  line-height: 15px;
  background: #fcfcfc;
  border-radius: 6px;
  margin: 5px 10px 5px 0;
  cursor: pointer;
  display: inline-block;
  transition: all 200ms;
}

.column-image a.hpm-button,
.column-image span.hpm-button {
  background-color: white;

  padding: 4px;
}

.hpmrr-se0 {
  width: 1px;

  height: 1px;

  overflow: hidden;
}

.hpm-block-prd h4 {
  font-size: 16px;

  margin: 5px 0 0 0;
}

.hpm-button-wrapper {
  overflow: visible;
}

.hpm-block-prd .hpm-button-wrapper select {
  max-width: 150px;

  display: inline-block;

  padding: 5px 10px;

  height: auto;
}

.hpm-block-prd {
  width: 100%;

  text-align: left;
}

.hpmcircle {
  display: block;

  border-radius: 50%;
}

/* for category */

.hpm-block-cat {
  width: 100%;

  text-align: center;

  display: block;
}

.hpm-block-cat .hpm-button {
  padding: 6px 9px;
}

.hpm-block-cat h4 {
  margin: 5px 0 0 0;

  font-size: 14px;
}

.hpm-block-cat select.hpm-button-wrapper {
  max-width: 150px;

  display: inline-block;

  padding: 3px 6px;

  height: auto;
}

/* active disabled */

.hpm-button.active,
.hpm-block li.active {
  /* border-color: rgb(220, 20, 60);
  color: black; */
  background: #646464;
  border: 2px solid #646464;
  color: #f4f4f4;
  opacity: 1;
}

.hpm-button.disabled,
.hpm-button.out-stock,
.hpm-block li.out-stock,
li.disabled {
  opacity: 0.5;
}

.hpm-button:hover,
.hpm-block li:hover {
  text-decoration: none !important;
  border: 2px solid #646464;
  opacity: 1;
}

.hpm-button:has(> span.hpmcircle) {
  border-radius: 50%;

  padding: 0;
}

.hpm-block li.out-stock,
.hpm-block option.out-stock {
  background-color: rgba(255, 0, 0, 0.1);
}

.hpm-button.out-stock {
  position: relative;
}

.hpm-button.out-stock:before {
  position: absolute;

  content: "";

  top: 50%;

  border-top: 1px solid;

  border-color: #444;

  -webkit-transform: rotate(-45deg);

  -moz-transform: rotate(-45deg);

  -ms-transform: rotate(-45deg);

  -o-transform: rotate(-45deg);

  transform: rotate(-45deg);
}

.hpm-block-prd .hpm-button.out-stock:before {
  left: -10px;

  right: -10px;
}

.hpm-block-cat .hpm-button.out-stock:before {
  left: -10px;

  right: -10px;
}

.img-resp {
  max-width: 100%;

  margin: 0 auto;

  display: table;

  height: auto;
}

.dd-option-image,
.dd-selected-image {
  height: 25px;

  max-width: auto;
}

.dd-option,
.dd-selected {
  padding: 4px 7px !important;
}

.dd-option-text,
.dd-selected-text {
  line-height: 25px !important;

  margin: 0;
}

.dropdown-select .btn {
  background-color: white;

  padding: 5px 8px;
}

.dropdown-select ul {
  padding: 10px;
}

.dropdown-select ul li a {
  display: block;
}

.hpm-block a {
  text-decoration: none;

  color: black;
}

.select-img {
  margin-right: 5px;
}

.hpm-block-cat h4 {
  display: none;
}
.hpm-button {
  position: relative;
}
.hpm-button.special {
  border: 2px solid red;
}

.hpm-button.special:before {
  content: "%";
  position: absolute;
  top: -12px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #dc143c;
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  color: #fff;
  background-color: #dc143c;
}
.hpm-button.special:hover:before {
  background: #dc143c;
  color: #fff;
}
.hpm-button.special.active:before {
  background: #dc143c;
  color: #fff;
}
