/* Scope to the selected Rockport provider and its WooCommerce loop wrappers. */
.product-small>.col-inner:has(.rp-card)>.badge-container,.product-small>.col-inner:has(.rp-card)>.badge,.product-small>.col-inner:has(.rp-card)>.onsale{display:none!important}
.rp-card{font-family:Overpass,Arial,sans-serif;color:#0e1d49;background:#fff;min-width:0;position:relative;text-align:left}
.rp-card__media{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;background:#f4f4f4}
.rp-card__image-link{display:block;position:absolute;inset:0}.rp-card__image{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:contain;object-position:center;transition:opacity .22s ease}.rp-card__image--secondary{opacity:0}.rp-card__media:hover .rp-card__image--secondary{opacity:1}
.rp-card__sale{position:absolute;left:10px;top:10px;z-index:2;background:#e60023;color:#fff;border-radius:30px;padding:5px 10px;font-size:12px;line-height:1;font-weight:700}
.rp-card__quick{position:absolute;right:10px;bottom:10px;z-index:2;background:#fff;color:#0e1d49;border:1px solid #0e1d49;padding:8px 10px;font-size:12px;line-height:1;opacity:0;transition:opacity .2s ease}.rp-card:hover .rp-card__quick,.rp-card__quick:focus-visible{opacity:1}
.rp-card__body{padding:12px 0 0;min-width:0}.rp-card__title{font:400 14px/1.2 Overpass,Arial,sans-serif!important;margin:0 0 8px!important;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rp-card__title a{color:#0e1d49!important;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}.rp-card__price{font:600 14px/1.2 Overpass,Arial,sans-serif;color:#0e1d49}.rp-card__price del{color:#777;opacity:1;margin-right:6px}.rp-card__price ins,.rp-card__price ins .amount{color:#e60023;text-decoration:none}.rp-card__rating{margin-top:6px}.rp-card__cart.button{display:inline-block;margin:9px 0 0;padding:7px 10px;min-height:0;line-height:1.2;background:#0e1d49;color:#fff;border:1px solid #0e1d49;font:600 12px/1.2 Overpass,Arial,sans-serif;text-transform:uppercase}.rp-card__cart.button:hover,.rp-card__cart.button:focus-visible{background:#fff;color:#0e1d49}
@media(max-width:767px){.rp-card__body{padding-top:9px}.rp-card__price{font-size:12px;font-weight:400}.rp-card__quick{opacity:1;font-size:11px;padding:7px}.rp-card__sale{left:6px;top:6px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.rp-card__image,.rp-card__quick{transition:none}}

/* Archive product grids only: retain the filters/sidebar and WooCommerce loop.
   The source uses 10px gaps. Reduce theme gutters from 19.6px and use three
   desktop columns in the narrower shop content region. */
@media (min-width: 850px) {
  body.post-type-archive-product .smi-shop-archive-products > .products.row,
  body.tax-product_cat .shop-container > .products.row {
    margin-left: 0;
    margin-right: 0;
  }
  body.post-type-archive-product .smi-shop-archive-products > .products.row > .product-small,
  body.tax-product_cat .shop-container > .products.row > .product-small {
    flex-basis: 33.333333%;
    max-width: 33.333333%;
    padding-left: 5px;
    padding-right: 5px;
  }
}
@media (max-width: 849px) {
  body.post-type-archive-product .smi-shop-archive-products > .products.row,
  body.tax-product_cat .shop-container > .products.row {
    margin-left: -20px;
    margin-right: -20px;
  }
  body.post-type-archive-product .smi-shop-archive-products > .products.row > .product-small,
  body.tax-product_cat .shop-container > .products.row > .product-small {
    padding-left: 5px;
    padding-right: 5px;
  }
}
