/* Isolated, image-backed demo of the existing Paws & Petals shop in unified Studio Card */
.mc-stage {
  position: relative;
  width: 100%;
  max-width: 390px;
  min-width: 0;
  margin-inline: auto;
  padding: 24px 18px 20px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 48px -18px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  box-sizing: border-box;
}
.mc-demo {
  position: relative;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: min(100%, 326px);
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.12);
  isolation: isolate;
}
.mc-demo * { box-sizing: border-box; }
.mc-screen {
  position: relative;
  height: 477px;
  border-radius: 17px;
  overflow: hidden;
  background: #f8f7f3;
  display: flex;
  flex-direction: column;
}
.mc-ann {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: center;
  background: #0f172a;
  color: #fff;
  font: 600 8.5px/1.25 Arial, sans-serif;
  letter-spacing: .04em;
  padding: 10px 4px;
}
.mc-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  z-index: 2;
}
.mc-brand, .mc-brand:hover {
  font: 700 15px/1.2 Arial, sans-serif;
  letter-spacing: -.02em;
  text-decoration: none;
  color: #0f172a;
}
.mc-cart {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
}
.mc-cart > svg { width: 18px; height: 18px; }
.mc-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #235ae9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  font: 700 9px/1 Arial, sans-serif;
  opacity: 0;
}
.mc-port {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: clip;
  background: #f8f7f3;
}
.mc-views {
  display: flex;
  width: 200%;
  height: 100%;
  will-change: transform;
}
.mc-view {
  position: relative;
  width: 50%;
  height: 100%;
  flex: 0 0 50%;
  overflow: clip;
}
.mc-tile-stack {
  position: relative;
  width: 100%;
  margin-top: -13.333333%;
  will-change: transform;
}
.mc-tile-stack > img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}
.mc-demo button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.mc-demo button:focus-visible, .mc-brand:focus-visible {
  outline: 2px solid #235ae9;
  outline-offset: 2px;
}
.mc-card-hit {
  position: absolute;
  left: 5.128205%;
  top: 64.285714%;
  width: 54.358974%;
  height: 23.883929%;
  border-radius: 4px;
  background: transparent;
}
.mc-back {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 48px;
  height: 24px;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font: 600 10px/1 Arial, sans-serif;
}
.mc-buy-hit, .mc-added {
  position: absolute;
  left: 4.102564%;
  right: 4.102564%;
  top: 76.607143%;
  aspect-ratio: 7.16;
  border-radius: 6px;
  background: transparent;
}
.mc-added {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #6a7a60;
  color: #fff;
  font: 600 12px/1 Georgia, serif;
  opacity: 0;
  pointer-events: none;
}
.mc-added svg { width: 12px; height: 12px; }
.mc-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin: 16px auto 0;
  color: #0f172a;
  font: 800 20px/1 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: -.03em;
}
@media (max-width: 600px) {
  .mc-stage { padding: 18px 14px 16px; border-radius: 22px; }
  .mc-demo { max-width: 290px; }
  .mc-head { padding: 11px 13px; }
  .mc-brand { font-size: 13px; }
  .mc-cart { width: 27px; height: 27px; }
  .mc-ann { font-size: 7.5px; padding: 9px 3px; }
  .mc-added { font-size: 10px; border-radius: 5px; }
  .mc-added svg { width: 10px; height: 10px; }
  .mc-wordmark { font-size: 19px; margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-views, .mc-tile-stack { will-change: auto; }
}
