.hpm-block
{
	--active-border: #f90;
	--hover-border: #3ecdf5;
	--out-of-stock: #FFCCCB;  
}

a.hpm-button,
span.hpm-button
{
	padding: 5px 10px;
	border: var(--ds-main-border);
	background-color: var(--ds-white-color);
	opacity: 1;
	border-radius: 5px;
	overflow: hidden;
	display: inline-block;
	color: black;
	cursor: pointer;
	transition: all 200ms;
	line-height: normal;
} 
.column-image a.hpm-button,
.column-image span.hpm-button
{
	background-color: white;
	padding: 0;
}
.hpmrr-se0
{
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.hpm-block-prd h4
{
    font-size: 14px;
    margin: 0 0 10px;
	color: var(--ds-dark-text-color);
	font-weight: 500;
	line-height: normal;
}
.hpm-button-wrapper
{
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
    overflow: visible;
}
.hpm-block-prd .hpm-button-wrapper select
{
	max-width: 255px;
	display: inline-block;
	padding: 14px 15px;
	border-radius: 5px;
	height: auto;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M7.99904 11.2C7.53237 11.2 7.0657 11.02 6.71237 10.6667L2.3657 6.31999C2.17237 6.12666 2.17237 5.80666 2.3657 5.61332C2.55904 5.41999 2.87904 5.41999 3.07237 5.61332L7.41904 9.95999C7.73904 10.28 8.25904 10.28 8.57904 9.95999L12.9257 5.61332C13.119 5.41999 13.439 5.41999 13.6324 5.61332C13.8257 5.80666 13.8257 6.12666 13.6324 6.31999L9.2857 10.6667C8.93237 11.02 8.4657 11.2 7.99904 11.2Z' fill='%235A5858'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 16px 16px;
}
.hpm-block-prd
{
	display: flex;
	flex-direction: column;
	row-gap: 15px;
	width: 100%;
	text-align: left;
	margin: 20px 0;
	padding-bottom: 20px;
	border-bottom: var(--ds-dashed-border);
}
@media(max-width: 991px) {
	.hpm-block-prd
	{
		padding-top: 20px;
		border-top: var(--ds-dashed-border);
		margin-bottom: 0;
	}
	.column-image a.hpm-button, .column-image span.hpm-button {
		width: 80px;
		height: 80px;
	}
}

.hpmcircle
{
    display: block;
	border-radius: 50%;
	overflow: hidden;
}

/* for category */
.hpm-block-cat
{
	width: 100%;
	text-align: center;
	display: block;
}

.hpm-block-cat .hpm-button
{
	padding: 4px 5px;
} 

.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: var(--ds-primary-color);
	opacity: 1;
	background-color: var(--ds-primary-color);
	color: var(--ds-white-color);
}

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

.hpm-button:hover, .hpm-block li:hover
{
	text-decoration: none;
    border-color: var(--ds-primary-color);
    opacity: 1;
}

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

.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: var(--ds-dark-text-color);
}

.select-img
{
	margin-right: 5px;
}
.hpm-block .minmax
{
	font-size: 20px;
	line-height: 25px;
}
.tooltip-arrow,
.white-tooltip + .tooltip > .tooltip-inner {background-color: white;}


.hpm-block-catN .column-custom3
{ position: absolute; left: 10px; top: 10px; }
.hpm-block-catN .column-custom3 .hpm-button
{ display: block;}
.hpm-block-catN .column-custom3 h4 { display: none;}