.prestaproattribute {
  position: relative;
  padding: 0 15px 15px;
  text-align: left;
  display: block;
  background-color: #fff;
  width: 100%;
  padding: 0 15px;
}

.pal-on-hover {
  /* box-shadow: 2px 4px 8px 0 rgba(0,0,0,.2); */
  display: none;
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 99;
}

.product-miniature.hover-fix .pal-on-hover,
.product-miniature:hover .pal-on-hover {
  display: block;
}

.product-miniature {
  position: relative;
}

.product-miniature.js-product-miniature {
  display: flex;
  flex-direction: column;
  max-width: 251px;
  justify-content: flex-start;
}

#products .product-miniature,
.featured-products .product-miniature,
.product-accessories .product-miniature,
.product-miniature .product-miniature {
  height: calc(100% - 20px);
}

.pal-quantity {
  align-items: baseline;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  justify-items: end;
  margin: 0 2px 10px;
  max-width: 77px;
}

.pal-quantity label {
  margin-bottom: .375rem;
}

.pal-quantity input {
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: none;
  font-size: 1rem;
  height: 2.5rem;
  line-height: 1.25;
  padding: .175rem .5rem;
  width: 2.7rem;
}

.prestaproattribute .plus {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.prestaproattribute .minus {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.prestaproattribute .pal-btn {
  line-height: 12px;
  padding-bottom: 4px;
  padding-top: 5px;
  padding-left: 8px;
  padding-right: 8px;
  vertical-align: top;
  font-size: 15px;
}

.prestaproattribute .pal-add-to-cart {
  flex: 1;
  font-size: 14px;
  height: auto;
  margin: 0 2px 10px;
  padding: .45rem .35rem;
}

.prestaproattribute .buttons {
  align-items: flex-end;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 0 .5rem;
}

.prestaproattribute .buttons .btn-tertiary-outline {
  align-items: center;
  align-self: flex-end;
  display: inline-flex;
  flex: 1;
  height: auto;
  justify-content: center;
  line-height: 1.25;
  margin: 0 2px 10px;
  padding: .5rem .4rem;
}

.prestaproattribute .attribute_fieldset:nth-child(3) {
  margin-top: 0;
}

.prestaproattribute .attribute_fieldset {
  /* margin-top: 10px; */
  text-align: left;
  padding-bottom: 1rem;
}

.prestaproattribute .bootstrap-touchspin {
  display: flex;
  float: right;
  margin: 0;
}

.prestaproattribute .color_pick {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 .3125rem;
  display: inline-block;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,.05);
  min-width: auto;
}

.prestaproattribute .color_pick.selected {
  border: 2px solid black;
}

.prestaproattribute .facet-dropdown {
  -webkit-appearance: none;
  appearance: none;
}

.prestaproattribute select {
  background: #fff;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAAPklEQVR4Ae3TwREAEBQD0V/6do4SXPZg7EsBhsQ8IEmSMOsiuEfg3gL3oXC7wK0bd1G4o8X9F4yIkyQfSrIByQBjp7QuND8AAAAASUVORK5CYII=");
  background-position: right center;
  background-repeat:no-repeat;
  background-size: 1.25em;
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: none;
  color: #7a7a7a;
  height: calc(2.5rem - 2px);
  padding: 0 .5rem;
  width: 100%;
}

.prestaproattribute select.group {
  width: 100%;
}

.prestaproattribute.not-loaded:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
  background: rgba(255,255,255,.9);
  z-index: 10;
}

ul.product_list .color-list-container .color_to_pick_list,
.prestaproattribute.hidden,
.prestaproattribute .hidden,
.variant-links,
.regular-button input {
  display: none;
}

.prestaproattribute .input-mask:after {
  content: "";
  position: absolute;
  z-index: 10;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  cursor: wait;
}

.prestaproattribute .bootstrap-touchspin input.form-control {
  width: 2.7rem;
}

.prestaproattribute .only-show .color_pick {
  box-shadow: none;
  min-width: 20px;
}

.regular-button.btn.btn-secondary {
  align-items: center;
  border: 1px #979797 solid;
  box-shadow: none;
  display: flex;
  height: 18px;
  margin: 8px 0;
  width: 18px;
  background: transparent;
  padding: 0;
}

.regular-button.btn.btn-secondary.active.pal-btn:before {
    margin: -0.125rem;
    color: #232323;
    content: '';
    display: inline-block;
    /* height: 1em; */
    font-family: "Material Icons", Arial, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    vertical-align: middle;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: "liga";
    font-feature-settings: "liga";
    position: absolute;
}

.regular-button span {
  margin-left: 28px;
  font-weight: normal;
}

label.attribute_label {
  /* margin-top: 10px; */
  display: block;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}

span.regular-button.btn.btn-secondary.active {
  background: transparent;
  border: 1px solid;
}

.custom-radio {
  /* margin-right: 0; */
  /* vertical-align: top; */
}

.prestaproattribute .color_pick {
  margin-left: 0;
}

.discount-product {
  top: -238px;
}

.pal-button-row {
  padding: 5px 0 0;
}

.pal-buttons {
  margin-top: auto;
  padding: 0 15px;
}

/* Non-interactive */
.only-show .attribute_list span {
    padding: 0.4rem 0.5rem;
    margin-right: 0.625rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: capitalize;
    word-break: normal;
    background: #f6f6f6;
    min-width: 32px;
    display: flex;
    justify-content: center;
    font-size: 15px;
}

.only-show .attribute_list span:last-child {
    margin:0;
}

.attribute_list {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    font-size: 15px;
}