/* Reference-derived frame with transparent outer edges; products and copy stay live. */
.bloom-product,
.product-card {
  isolation: isolate;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bloom-product::before,
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('assets/crystal-rose-card.png') center / 100% 100% no-repeat;
  filter: drop-shadow(0 8px 14px #35152325);
  transition: filter .2s;
}
.bloom-product {
  padding: 25px 13% 24px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #592b3a;
}
.bloom-product:hover { box-shadow: none; }
.bloom-product:hover::before,
.product-card:focus-within::before { filter: drop-shadow(0 8px 18px #f5bfd861); }
.bloom-product-index { font-size: 7px; letter-spacing: .8px; opacity: 1; }
.bloom-product img { height: 78px; margin: 1px 0; }
.bloom-product-name { font-size: clamp(16px,1.45vw,22px); white-space: normal; line-height: 1.05; min-height: 2.1em; letter-spacing: -.5px; }
.bloom-product-bottom { margin-top: 7px; font-size: 10px; }
.bloom-product-bottom > span:last-child { font-size: 9px; }

/* The store uses the same complete portrait frame, without a separate white footer. */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 2 / 3;
  overflow: visible;
  padding: 17% 13% 13%;
  color: #592b3a;
}
.product-card .product-visual {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
.product-card:is(.plum,.rose,.sage,.sand) .product-visual { background: transparent; }
.product-card .product-visual > .product-open { height: 100%; }
.product-card .product-visual img { width: 100%; height: 100%; object-fit: contain; }
.product-card .product-badge {
  top: 0;
  left: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #592b3a;
  font-size: 8px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.product-card .product-add { bottom: 8px; right: 0; width: 30px; height: 30px; font-size: 20px; background: #fff4f8c9; }
.product-card .product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px 8px;
  padding: 0;
  min-height: 0;
  background: transparent;
}
.product-card .product-title { grid-column: 1 / -1; grid-row: 1; color: #592b3a; font-size: clamp(23px,2.2vw,35px); line-height: 1.05; min-height: 2.1em; margin: 0; }
.product-card .product-price { grid-column: 1; grid-row: 2; color: #592b3a; font-size: 13px; order: initial; margin: 0; }
.product-card .product-explore { grid-column: 2; grid-row: 2; width: auto; height: auto; color: #592b3a; font-size: 12px; justify-self: end; border-bottom: 1px solid #855260; padding: 0 0 3px; }
.product-card .product-category { display: none; }

@media (min-width: 1600px) {
  .bloom-product { padding-top: 31px; padding-bottom: 30px; }
  .bloom-product img { height: 94px; }
}
@media (max-width: 1100px) and (min-width: 701px) {
  .bloom-product { padding: 23px 12% 23px; }
  .bloom-product-index { font-size: 6px; letter-spacing: .2px; }
  .bloom-product-name { font-size: 16px; }
  .bloom-product img { height: 68px; }
}
@media (max-width: 700px) {
  .bloom-product { padding: 23px 13% 23px; }
  .bloom-product-index { font-size: 6px; letter-spacing: .1px; }
  .bloom-product img { height: 98px; margin: 1px 0; }
  .bloom-product-name { font-size: 17px; min-height: 2.1em; }
  .bloom-product-bottom { font-size: 9px; margin-top: 8px; gap: 3px; }
  .bloom-product-bottom > span:last-child { font-size: 8px; }
}
@media (max-width: 560px) {
  .product-card { padding: 18% 13% 14%; }
  .product-card .product-badge { font-size: 6px; letter-spacing: .3px; }
  .product-card .product-title { font-size: 21px; min-height: 2.1em; }
  .product-card .product-info { gap: 12px 5px; }
  .product-card .product-price { font-size: 10px; }
  .product-card .product-explore { font-size: 10px; }
  .product-card .product-add { bottom: 5px; width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .bloom-product::before,.product-card::before { transition: none; }
}
