/* Shared Kids-style product cells. Desktop is deliberately unaffected. */
@media (max-width:700px) {
 html:root body[class] main :is(.gallery-grid,.base-catalog,.kids-gallery,.love-gallery,.royal-gallery-standard__grid,.viva-gallery__grid,.wedding-gallery__grid,.ww-product-gallery__grid,.product-related__track) {
  display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important; grid-auto-flow:row!important; grid-auto-columns:auto!important;
  gap:0!important; padding:0!important; border:0!important; border-top:1px solid #eee!important; border-left:1px solid #eee!important;
  background:transparent!important; box-shadow:none!important; transform:none!important;
  overflow:visible!important; align-items:stretch!important;
 }
 html:root body[class] main :is(.gallery-grid,.base-catalog,.kids-gallery,.love-gallery,.royal-gallery-standard__grid,.viva-gallery__grid,.wedding-gallery__grid,.ww-product-gallery__grid,.product-related__track) > :is(a,article) {
  display:grid!important; grid-template-columns:minmax(0,1fr)!important; grid-template-rows:auto 1fr!important;
  grid-column:auto!important; grid-row:auto!important; gap:0!important;
  min-width:0!important; width:auto!important; max-width:none!important; min-height:0!important;
  margin:0!important; padding:0!important; border:0!important; border-right:1px solid #eee!important; border-bottom:1px solid #eee!important;
  border-radius:0!important; background:transparent!important; box-shadow:none!important;
  transform:none!important; opacity:1!important; text-decoration:none!important;
 }
 html:root body[class] main .gallery-grid > .gallery-card.is-hidden,
 html:root body[class] main :is(.gallery-grid,.base-catalog,.kids-gallery,.love-gallery,.royal-gallery-standard__grid,.viva-gallery__grid,.wedding-gallery__grid,.ww-product-gallery__grid) > [hidden] { display:none!important; }
 html:root body[class] main :is(.gallery-card,.base-piece,.kids-piece,.love-piece,.royal-gallery-card,.viva-gallery-card,.wedding-gallery__item,.product-related-card) > :is(figure,.love-piece__placeholder) {
  display:grid!important; place-items:center!important; aspect-ratio:4/5!important;
  width:100%!important; height:auto!important; min-height:0!important; max-height:none!important;
  margin:0!important; padding:0!important; border:0!important; background:transparent!important; overflow:hidden!important;
 }
 html:root body[class] main :is(.gallery-card,.base-piece,.kids-piece,.love-piece,.royal-gallery-card,.viva-gallery-card,.wedding-gallery__item,.product-related-card) figure img {
  position:static!important; width:88%!important; height:70.4%!important; max-width:100%!important; max-height:100%!important;
  min-height:0!important; object-fit:contain!important; padding:8px!important; margin:auto!important;
  transform:none!important; filter:none!important; box-shadow:none!important;
 }
 html:root body[class] main .wedding-gallery__item .wedding-ring-stage { display:grid!important; place-items:center!important; width:100%!important; height:100%!important; min-height:0!important; transform:none!important; }
 html:root body[class] main :is(.gallery-card,.base-piece,.kids-piece,.love-piece,.royal-gallery-card,.viva-gallery-card,.wedding-gallery__item,.product-related-card) > div:not(.love-piece__placeholder) {
  margin:0!important; padding:10px 12px 12px!important; min-height:0!important;
  border:0!important; border-top:1px solid #f2f2f2!important; text-align:left!important; background:transparent!important;
 }
 html:root body[class] main :is(.gallery-card,.base-piece,.kids-piece,.love-piece,.royal-gallery-card,.viva-gallery-card,.wedding-gallery__item,.product-related-card) :is(h2,h3) {
  margin:0 0 6px!important; font-family:var(--sans),sans-serif!important; font-size:14px!important;
  font-weight:400!important; line-height:1.45!important; letter-spacing:0!important; text-transform:none!important;
  color:#484848!important; overflow-wrap:anywhere;
 }
 html:root body[class] main :is(.gallery-card,.base-piece,.kids-piece,.love-piece,.royal-gallery-card,.viva-gallery-card,.product-related-card) > div > p:has(+ h2,+ h3) { display:none!important; }
 html:root body[class] main :is(.gallery-card,.base-piece,.kids-piece,.love-piece,.royal-gallery-card,.viva-gallery-card,.product-related-card) > div > span,
 html:root body[class] main .kids-piece > div > p,
 html:root body[class] main .wedding-gallery__item .preview-card-description {
  display:block; margin:0!important; font-family:var(--sans),sans-serif!important; font-size:12px!important;
  font-weight:400!important; line-height:1.5!important; letter-spacing:0!important; color:#888!important;
 }
 html:root body[class] main .wedding-gallery__item > div > p:first-child {
  margin:0 0 6px!important; font-family:var(--sans),sans-serif!important; font-size:14px!important; font-weight:400!important; line-height:1.45!important; letter-spacing:0!important; text-transform:none!important;
 }
 html:root body[class] main .product-related-slider { overflow:visible!important; }
 html:root body[class] main :is(.product-related__controls,.product-related__dots,[data-related-prev],[data-related-next],[data-related-counter],[data-related-dots]) { display:none!important; }
}
