/* Shared Tambi product card — homepage design */
.tambi-pcard,
.tambi-best__card{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  height:100%;
  background:transparent;
  border:0;
  box-shadow:none;
  margin:0;
  padding:0
}
.tambi-pcard__link,
.tambi-best__link{
  text-decoration:none!important;
  color:#111!important;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  flex:1 1 auto
}
.tambi-pcard__media,
.tambi-best__media{
  position:relative;
  background:#fff;
  border:1px solid #E7E7E4;
  border-radius:12px;
  aspect-ratio:1/1.15;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box
}
.tambi-pcard__media img,
.tambi-best__media img{
  width:86%;
  height:86%;
  object-fit:contain;
  display:block;
  transition:transform .35s ease
}
.tambi-pcard:hover .tambi-pcard__media img,
.tambi-best__card:hover .tambi-best__media img{
  transform:scale(1.04)
}
.tambi-pcard__badge,
.tambi-best__badge{
  position:absolute;
  left:10px;
  bottom:10px;
  background:#fff;
  color:#111;
  font-family:Geist,system-ui,sans-serif;
  font-size:12px;
  font-weight:600;
  line-height:1;
  padding:6px 8px;
  border-radius:8px;
  box-shadow:0 1px 4px rgba(0,0,0,.08)
}
.tambi-best__badge--oos{
  left:auto;
  right:10px;
  background:#111;
  color:#fff
}
.tambi-pcard.is-oos .tambi-pcard__media,
.tambi-best__card.is-oos .tambi-best__media{
  opacity:.72
}
.tambi-pcard__title,
.tambi-best__title{
  margin:0!important;
  font-family:Geist,system-ui,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:1.35!important;
  color:#111!important;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3.9em
}
.tambi-pcard__price,
.tambi-best__price{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px
}
.tambi-pcard__now,
.tambi-best__now{
  font-family:Geist,system-ui,sans-serif;
  font-size:15px;
  font-weight:700;
  color:#111
}
.tambi-pcard__was,
.tambi-best__was{
  font-family:Geist,system-ui,sans-serif;
  font-size:13px;
  color:#999;
  text-decoration:line-through
}
.tambi-pcard__actions,
.tambi-best__actions{
  margin-top:auto
}
.tambi-pcard__actions .fluent-cart-add-to-cart-button,
.tambi-best__actions .fluent-cart-add-to-cart-button,
.tambi-pcard__atc,
.tambi-best__atc,
button.tambi-pcard__atc,
button.tambi-best__atc{
  width:100%!important;
  min-height:40px!important;
  border:0!important;
  border-radius:999px!important;
  background:#111!important;
  color:#fff!important;
  font-family:Geist,system-ui,sans-serif!important;
  font-size:13px!important;
  font-weight:600!important;
  padding:10px 14px!important;
  cursor:pointer!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  box-shadow:none!important;
  text-decoration:none!important
}
.tambi-pcard__actions .fluent-cart-add-to-cart-button:hover,
.tambi-best__actions .fluent-cart-add-to-cart-button:hover,
.tambi-pcard__atc:hover,
.tambi-best__atc:hover{
  background:#222!important
}
.tambi-pcard__actions .fluent-cart-add-to-cart-button .text,
.tambi-best__actions .fluent-cart-add-to-cart-button .text,
.tambi-pcard__actions .fluent-cart-add-to-cart-button .fct-button-text,
.tambi-best__actions .fluent-cart-add-to-cart-button .fct-button-text{
  color:#fff!important
}
.tambi-pcard__atc.is-disabled,
.tambi-best__atc.is-disabled,
.tambi-pcard__actions .fluent-cart-add-to-cart-button:disabled,
.tambi-best__actions .fluent-cart-add-to-cart-button:disabled{
  background:#CFCFCF!important;
  color:#666!important;
  cursor:not-allowed!important
}

/* Inside FluentCart product loops: strip default card chrome */
.fct-product-card:has(.tambi-pcard),
.fct-product-card:has(.tambi-best__card),
[data-fct-product-card]:has(.tambi-pcard){
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
  transform:none!important;
  height:100%!important
}
.fct-product-card:has(.tambi-pcard) > .dynamic{
  display:contents!important
}
