/* Shared photo frame: blue and pink stationery border with a white inner mat. */
.item-product .item-image,
.store-card .item-image,
.product-photo-frame {
  --frame-space: clamp(10px, 1.25vw, 16px);
  position: relative;
  box-sizing: border-box;
  padding: var(--frame-space);
  border: 1px solid #f5d2e0;
  border-top: 4px solid #efb6d0;
  border-radius: 18px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, #ffffff38 0 16px, transparent 16px 32px),
    linear-gradient(180deg, #def4fb 0 65%, #fbe0ed 65% 100%);
}
.item-product .item-image > div[style*="padding-bottom"] {
  position: relative;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 8px;
  overflow: hidden;
}
.item-product .item-image .product-item-image {
  object-fit: contain !important;
}
.store-card .item-image > a {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
}
.store-card .item-image img {
  display: block;
  object-fit: contain;
}
.product-photo-frame {
  padding: clamp(14px, 2vw, 24px);
}
.product-photo-frame .store-product-image {
  display: block;
  box-sizing: border-box;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 8px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .item-product .item-image,
  .store-card .item-image { border-radius: 13px; }
  .item-product .item-image > div[style*="padding-bottom"],
  .store-card .item-image > a { border-width: 4px; }
}
