.product-card{
  --product-content-inset:1em;
  --product-card-background:var(--section-bg-color, var(--color-base-white));
  --product-card-foreground:var(--section-text-color, var(--color-base-black));
  --product-card-border-color:rgba(var(--product-card-foreground), 0.15);
  --product-card-border:1px solid var(--product-card-border-color);
  border-radius:var(--product-card-border-radius);
  transition:all var(--transition-duration-normal);
  position:relative;
}
.product-card .badge{
  position:absolute;
  inset-block-start:var(--product-content-inset);
  background-color:var(--badge-bg-color);
  color:var(--badge-text-color);
  border-radius:calc(var(--product-card-border-radius) * 0.66);
  padding:0.3em 0.8em;
  font-size:var(--text-xs);
}
.product-card .badge[data-position$=left]{
  inset-inline-start:var(--product-content-inset);
}
.product-card .badge[data-position$=right]{
  inset-inline-end:var(--product-content-inset);
}
.product-card .badge span{
  max-width:32ch;
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.product-card .img-link{
  overflow:hidden;
  outline-offset:-1px;
  aspect-ratio:1 / 1.08;
}
.product-card .img-link img{
  display:block;
  height:100%;
  width:100%;
  -o-object-fit:cover;
     object-fit:cover;
  border-radius:var(--product-card-border-radius);
  pointer-events:none;
}
.product-card .img-link .card-placeholder,
.product-card .img-link .placeholder-svg{
  aspect-ratio:var(--product-thumbnail-aspect-ratio);
}
.product-card .img-link .card-placeholder{
  background-color:rgba(var(--product-card-foreground), 0.05);
  border-radius:var(--product-card-border-radius);
}
.product-card .img-link .card-placeholder svg{
  color:rgba(var(--product-card-foreground), 0.6);
}
.product-card .info{
  padding:1.25em;
  display:grid;
  grid-gap:var(--gap-xs);
  gap:var(--gap-xs);
  border-radius:var(--product-card-border-radius);
  background-color:var(--product-card-background);
  color:rgb(var(--product-card-foreground));
}
.product-card .info .title,
.product-card .info .price{
  justify-self:var(--product-card-text-alignment);
}
.product-card .info .title{
  display:-webkit-box;
  max-width:100%;
  min-block-size:calc(3 * 1.3em);
  overflow:hidden;
  color:currentColor;
  line-height:1.3;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
}
.product-card .info .price{
  display:flex;
  align-items:center;
  gap:var(--gap-md);
  font-size:var(--text-md);
}
.product-card .info .price .current{
  font-size:var(--text-lg);
  font-weight:550;
}
.product-card .info .price .compare-at{
  color:currentColor;
  font-weight:400;
  -webkit-text-decoration:line-through;
  text-decoration:line-through;
}
.product-card .info button.primary,
.product-card .info button.secondary,
.product-card .info .yc-btn.primary,
.product-card .info .yc-btn.secondary{
  width:100%;
  min-block-size:44px;
  margin-block-start:0.5em;
  font-size:0.875rem;
}
.product-card .info button.primary:hover,
.product-card .info button.secondary:hover,
.product-card .info .yc-btn.primary:hover,
.product-card .info .yc-btn.secondary:hover{
  color:var(--product-card-background);
}
.product-card[data-style$=standard]{
  border:var(--product-card-border);
}
.product-card[data-style$=standard] .img-link{
  display:block;
  border-bottom:var(--product-card-border);
}
.product-card[data-style$=standard] img,
.product-card[data-style$=standard] .card-placeholder{
  border-end-end-radius:0;
  border-end-start-radius:0;
}
.product-card[data-style$=standard] .info{
  position:static;
  border-start-end-radius:0;
  border-start-start-radius:0;
}
.product-card[data-style$=standard] .info button{
  width:100%;
}
.product-card[data-style$=compact]::before{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  border-radius:var(--product-card-border-radius);
  -webkit-backdrop-filter:var(--overlay-blur);
          backdrop-filter:var(--overlay-blur);
  background-color:var(--overlay-background);
  opacity:0;
  transition:var(--transition-duration-normal);
  pointer-events:none;
}
.product-card[data-style$=compact]:hover::before{
  opacity:1;
}
.product-card[data-style$=compact] .img-link{
  display:block;
}
.product-card[data-style$=compact] .info{
  position:absolute;
  inset-block-end:0;
  margin:var(--product-content-inset);
  padding:var(--product-content-inset);
  width:-webkit-fill-available;
  width:-moz-available;
  width:stretch;
}


/* JUSTFOOT size badge */
.mb-size-badge {
  display: inline-block;
  margin: 8px 12px 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F26B38 !important;
  color: #FFFFFF !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.4;
  text-transform: uppercase;
}
.mb-product-card .mb-size-badge { margin: 8px 0 0; }


/* JUSTFOOT professional product cards */
.product-card,
.mb-product-card {
  position: relative !important;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.05) !important;
}
.product-card .badge,
.mb-product-card__tag {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 2 !important;
  margin: 0 !important;
}
.mb-card-meta {
  margin: 8px 12px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b7280;
}
.mb-product-card .mb-card-meta { margin: 8px 0 10px; }
.product-card .info.mb-card-info,
.mb-product-card__body { padding: 0 12px 14px; }
.product-card .price .current,
.mb-product-card__price span:first-child {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.product-card .yc-btn.primary,
.mb-product-card__buy .yc-btn.primary {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px !important;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card .yc-btn.primary:hover,
.mb-product-card__buy .yc-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(242,107,56,.28);
}
.mb-card-arrow { font-size: 15px; line-height: 1; }


/* JUSTFOOT professional cards — refinement */
.product-card .mb-card-meta,
.mb-product-card .mb-card-meta {
  position: static !important;
  margin: 8px 12px 10px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #6b7280 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
}
.mb-product-card .mb-card-meta { margin: 8px 0 10px !important; }
.product-card .img-link,
.mb-product-card__media {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}
.product-card .img-link img,
.mb-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .3s ease !important;
}
.product-card:hover,
.mb-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.10) !important;
}
.product-card:hover .img-link img,
.mb-product-card:hover .mb-product-card__media img {
  transform: scale(1.03);
}
.product-card .yc-btn.primary span:first-child,
.mb-product-card__buy .yc-btn.primary span:first-child {
  white-space: nowrap;
  font-size: 11px;
}
.mb-card-cod {
  margin: 9px 0 0 !important;
  font-size: 10px !important;
  color: #6b7280 !important;
  text-align: center;
}
.mb-card-cod::before {
  content: "●";
  color: #F26B38;
  font-size: 8px;
  margin-right: 5px;
}
