/* Keep the homepage selection as sharp and balanced as Fighouse listing cards. */
.fh-home-selection .fhhs-product-col {
  min-width: 0;
}

.fh-home-selection .product-miniature > .card {
  height: 100%;
  overflow: hidden;
}

body .fh-home-selection .product-miniature .product-miniature__image-container.thumbnail-container {
  aspect-ratio: 1 / 1 !important;
}

.fh-home-selection .product-miniature__image-container picture {
  display: block;
  width: 100%;
  height: 100%;
}

body .fh-home-selection .product-miniature .product-miniature__image-container img.product-miniature__image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  padding: clamp(0.08rem, 0.3vw, 0.25rem);
  object-fit: contain !important;
  object-position: center !important;
  transform: none;
}

body .fh-home-selection .product-miniature:hover .product-miniature__image-container img.product-miniature__image {
  transform: scale(1.025);
}

.fh-home-selection .product-miniature__infos {
  flex: 1 1 auto;
}

.fh-home-selection .product-miniature__infos__bottom {
  margin-top: auto;
}

@media (max-width: 767.98px) {
  body .fh-home-selection .product-miniature .product-miniature__image-container img.product-miniature__image {
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
  }
}

.fh-home-selection header .text-muted{
  color: #d7ccba !important;
}
.fh-home-selection .product-miniature__infos__bottom{
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fh-home-selection .fhhs-order-form{
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  margin-top: auto;
}
.fh-home-selection .fhhs-qty{
  display: grid;
  grid-template-columns: 32px minmax(0, 44px) 32px;
  width: 108px;
  height: 40px;
}
.fh-home-selection .fhhs-qty > *{
  min-width: 0;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(215,177,92,.4);
  border-radius: 0;
  background: #18130f;
  color: #fff1d2;
  text-align: center;
}
.fh-home-selection .fhhs-qty > :first-child{border-radius: 9px 0 0 9px;}
.fh-home-selection .fhhs-qty > :last-child{border-radius: 0 9px 9px 0;}
.fh-home-selection .fhhs-qty input::-webkit-inner-spin-button,
.fh-home-selection .fhhs-qty input::-webkit-outer-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
.fh-home-selection .fhhs-qty input{appearance: textfield;}
.fh-home-selection .fhhs-order-form__add{
  min-width: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid #d6ad59 !important;
  border-radius: 9px !important;
  background: #d6ad59 !important;
  color: #1b140b !important;
  font-weight: 700;
}
.fh-home-selection .fhhs-order-form__add:hover{
  background: #f0cc79 !important;
  border-color: #f0cc79 !important;
}
.fh-home-selection .fhhs-order-form__add .material-icons{font-size: 18px;}
.fh-home-selection .fhhs-details-link{color:#f1c76f; font-weight:650;}
@media (max-width: 575.98px){
  .fh-home-selection .fhhs-order-form{grid-template-columns:minmax(0,1fr);}
  .fh-home-selection .fhhs-qty{margin-inline:auto;}
}
