.block-product-card {
  position: relative;
}

.block-product-card.product-card-style--card {
  background-color: rgb(var(--color-background));
}

.block-product-card.product-card-style--card .block-product-price,
.block-product-card.product-card-style--card .block-product-title {
  padding-inline: 8px;
}
/* JOPEAR collection cards use the store's real price, image and product link. */
.jopear-card-action{display:none}
.main-collection__list .block-product-card{position:relative;padding-bottom:14px!important;display:flex;flex-direction:column;gap:0!important}
.main-collection__list .block-product-card-info{padding:12px 7px 2px!important;gap:8px!important;flex:1}
.main-collection__list .block-product-title{font-family:inherit;font-size:13px;line-height:1.5;min-height:3em;color:#33284a!important;padding:0!important}
.main-collection__list .block-product-title span{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2!important;overflow:hidden;white-space:normal!important;line-height:1.5}
.main-collection__list .block-product-price{padding:0 44px 0 0!important;color:#33284a}
.main-collection__list .jopear-card-action{display:block;position:absolute;right:14px;bottom:14px;z-index:3}
.main-collection__list .jopear-card-buy{display:flex;width:36px;height:36px;align-items:center;justify-content:center;border:0;border-radius:50%;background:#e83e7c;color:#fff;text-decoration:none;cursor:pointer;font-size:20px;line-height:1}
.main-collection__list .jopear-card-buy:hover{background:#c62d68}.main-collection__list .jopear-card-buy:focus-visible{outline:2px solid #33284a;outline-offset:2px}

/* Consistent compact spacing for product cards across the storefront. */
.block-product-card.block-product-card{row-gap:0!important}
.block-product-card .block-product-card-info.block-product-card-info{padding-top:4px!important;row-gap:4px!important}
.block-product-card .block-product-card-info > *{margin-block:0!important}
.block-product-card .block-product-card-info svg:not(.icon-loading){width:13px!important;height:13px!important}

/* Keep image and review close together, with more breathing room above price. */
.block-product-card .block-product-card-info.block-product-card-info{padding-top:2px!important;row-gap:0!important}
.block-product-card .block-product-card-info > .block-product-price{margin-block-start:6px!important}

/* Remove the image wrapper's bottom padding and the review widget's extra line-box space. */
.block-product-card .block-product-image__layer-image-wrapper{padding-bottom:0!important}
.block-product-card .block-product-card-info.block-product-card-info{padding-top:2px!important;row-gap:2px!important}
.block-product-card .block-product-card-info > :has(svg):not(.block-product-price){line-height:13px!important;margin-block:0!important;padding-block:0!important}
.block-product-card .block-product-card-info > :has(svg):not(.block-product-price) :not(svg):not(path){line-height:13px!important;margin-block:0!important;padding-block:0!important}
.block-product-card .block-product-card-info > .block-product-price{margin-block-start:6px!important}

/* Balance the visible space above and below the review stars. */
.block-product-card .block-product-card-info.block-product-card-info{padding-top:5px!important;row-gap:2px!important}
.block-product-card .block-product-card-info > .block-product-title{margin-block-start:-3px!important}
.block-product-card .block-product-card-info > .block-product-price{margin-block-start:6px!important}
