#product .hpmodel-unishop-slot {
  width: 100%;
  margin: 16px 0 0;
}

#hpmodel.hpmodel-unishop {
  display: block;
  position: relative;
  width: 100%;
  max-height: 500px;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(191, 151, 43, .28);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fff9e9 30%, #f3d88f 68%, #fffdf8 100%);
  box-shadow: 0 8px 24px rgba(88, 66, 21, .08);
}

#hpmodel.hpmodel-unishop .hpm-group {
  width: 100%;
  height: auto;
  margin: 0;
  overflow: visible;
}

#hpmodel.hpmodel-unishop .hpm-title {
  margin: 0 0 13px;
  color: #332817;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

#hpmodel.hpmodel-unishop .hpm-type-images {
  display: grid;
  max-height: 430px;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1px 5px 3px 1px;
  scrollbar-color: rgba(174, 126, 24, .72) rgba(255, 255, 255, .45);
  scrollbar-width: thin;
}

#hpmodel.hpmodel-unishop .hpm-type-images::-webkit-scrollbar {
  width: 6px;
}

#hpmodel.hpmodel-unishop .hpm-type-images::-webkit-scrollbar-track {
  border-radius: 8px;
  background: rgba(255, 255, 255, .45);
}

#hpmodel.hpmodel-unishop .hpm-type-images::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(174, 126, 24, .72);
}

#hpmodel.hpmodel-unishop .hpm-item {
  display: flex;
  min-width: 0;
  min-height: 190px;
  height: auto;
  padding: 9px 8px 11px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: #3d3d3d;
  font: inherit;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(76, 65, 44, .22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 22, 12, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}

#hpmodel.hpmodel-unishop .hpm-item:hover:not(.active):not(.disabled),
#hpmodel.hpmodel-unishop .hpm-item:focus-visible:not(.active):not(.disabled) {
  border-color: #bd9329;
  outline: 0;
  box-shadow: 0 7px 18px rgba(121, 88, 19, .16);
  transform: translateY(-2px);
}

#hpmodel.hpmodel-unishop .hpm-item.active {
  cursor: default;
  border: 2px solid #1685e0;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: 0 6px 17px rgba(22, 133, 224, .14);
}

#hpmodel.hpmodel-unishop .hpm-item.disabled {
  cursor: not-allowed;
  opacity: .42;
}

#hpmodel.hpmodel-unishop .hcol-image {
  display: flex;
  width: 100%;
  min-height: 112px;
  margin: 0 0 7px;
  align-items: center;
  justify-content: center;
}

#hpmodel.hpmodel-unishop .hcol-image img {
  display: block;
  width: 112px;
  height: 112px;
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
}

#hpmodel.hpmodel-unishop .hcol-price {
  display: block;
  min-height: 22px;
  margin: 0 0 5px;
  color: #595959;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

#hpmodel.hpmodel-unishop .hcol-price .hprice-old {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}

#hpmodel.hpmodel-unishop .hcol-price .hprice-new {
  color: #d64b34;
}

#hpmodel.hpmodel-unishop .hcol-name {
  display: block;
  width: 100%;
  margin: auto 0 0;
  color: #5b5b5b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

#hpmodel.hpmodel-unishop .hpmodel-type-select select {
  width: 100%;
  min-height: 42px;
  border-color: rgba(76, 65, 44, .3);
  border-radius: 7px;
  background-color: #fff;
}

#product {
  transition: opacity .14s ease, filter .14s ease;
}

#product.hpm-is-loading {
  pointer-events: none;
  opacity: .66;
  filter: saturate(.86);
}

#product.hpm-is-loading #hpmodel.hpmodel-unishop::after {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  content: '';
  border: 3px solid rgba(189, 147, 41, .24);
  border-top-color: #b98312;
  border-radius: 50%;
  background: rgba(255, 255, 255, .76);
  animation: hpmodel-unishop-spin .7s linear infinite;
}

@keyframes hpmodel-unishop-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 575px) {
  #product .hpmodel-unishop-slot {
    margin-top: 12px;
  }

  #hpmodel.hpmodel-unishop {
    max-height: 500px;
    padding: 8px 5px 7px;
    border-radius: 11px;
  }

  #hpmodel.hpmodel-unishop .hpm-title {
    margin-bottom: 7px;
    padding: 0 2px;
    font-size: 14px;
  }

  #hpmodel.hpmodel-unishop .hpm-type-images {
    max-height: 450px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 1px 4px 3px 1px;
  }

  #hpmodel.hpmodel-unishop .hpm-item {
    min-height: 0;
    padding: 5px 3px 8px;
    border-radius: 7px;
  }

  #hpmodel.hpmodel-unishop .hcol-image,
  #hpmodel.hpmodel-unishop .hcol-image img {
    width: 88px;
    height: 88px;
    min-height: 88px;
    max-height: 88px;
  }

  #hpmodel.hpmodel-unishop .hcol-image {
    margin-bottom: 3px;
  }

  #hpmodel.hpmodel-unishop .hcol-price {
    min-height: 19px;
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1.28;
  }

  #hpmodel.hpmodel-unishop .hcol-name {
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -.1px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }
}
