.demo-mount {
  --demo-lilac: #ecdfff;
  --demo-plum: #20152b;
  --demo-abyss: #18101e;
  --demo-violet: #c2a3ff;
  --demo-cream: #fbf3e7;
  color: var(--paper, #f3f5ec);
  min-width: 0;
}

.demo-mount [hidden] { display: none !important; }
.demo-mount :where(button, input, select) { font: inherit; }
.demo-mount button { cursor: pointer; }
.demo-mount :is(button, input, select):focus-visible {
  outline: 2px solid var(--lime, #b9f661);
  outline-offset: 3px;
}
.demo-sr, .demo-mount .demo-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.demo-mode {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 4px;
  border: 1px solid #3a4534;
  border-radius: 3px;
  background: #111510;
}
.demo-mode button, .demo-tier-controls button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  color: #d5ddca;
  padding: 8px 13px;
  font-size: .81rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 170ms, color 170ms, border-color 170ms;
}
.demo-mode button[aria-pressed="true"] {
  background: #293a23;
  color: #f3f8e9;
  border-color: #5a754d;
}
.demo-mode button:hover, .demo-tier-controls button:hover { color: var(--lime, #b9f661); }
.demo-tier-controls { margin-top: 10px; }
.demo-tier-controls [role="tablist"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.demo-tier-controls button { text-align: center; border-color: #384233; background: #171d15; }
.demo-tier-controls button[aria-selected="true"] {
  border-color: var(--lime, #b9f661);
  color: #12180e;
  background: var(--lime, #b9f661);
}
.demo-stage {
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: grid;
  justify-items: center;
  padding: clamp(9px, 2.5vw, 26px);
  margin-top: 10px;
  border: 1px solid #323c2f;
  border-radius: 5px;
  background: radial-gradient(ellipse at 50% 8%, #293428, transparent 58%), #10140f;
}
.demo-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, #9aaa9120 0 1px, transparent 1px 14px);
  mask-image: linear-gradient(#000, #0007, transparent);
}
.demo-screen {
  container: demo-screen / inline-size;
  width: 100%;
  min-width: 0;
  border: 1px solid #626d59;
  border-radius: 6px;
  background: #141811;
  box-shadow: 0 22px 60px #0009;
}
.demo-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 40px;
  justify-content: space-between;
  gap: 4px 10px;
  padding: 7px clamp(7px, 1.4vw, 14px);
  background: #252b21;
  border-radius: 6px 6px 0 0;
  color: #dce3d5;
}
.demo-chrome-dots { display: flex; align-items: center; gap: 4px; }
.demo-chrome-dots i { width: 6px; height: 6px; border: 1px solid #a6ac9f; border-radius: 50%; }
.demo-chrome-dots i:first-child { background: var(--lime, #b9f661); border-color: var(--lime, #b9f661); }
.demo-screen-address { font-size: .69rem; color: #edf1e9; }
.demo-chrome-label { font-size: .59rem; font-weight: 800; letter-spacing: .09em; color: #bfd1b0; }
.demo-caption { margin: 12px 0 0; color: #b9c1b3; font-size: .8rem; line-height: 1.6; }

.demo-store {
  --demo-shop-bg: #231831;
  color: var(--demo-cream);
  background: var(--demo-shop-bg);
  border-radius: 0 0 5px 5px;
  overflow: clip;
  animation: demo-appear 360ms ease both;
}
.demo-store--professional { --demo-shop-bg: #24182f; }
.demo-store--premium { --demo-shop-bg: #1b1226; }
@keyframes demo-appear { from { opacity: .55; translate: 0 6px; } to { opacity: 1; translate: 0; } }
.demo-store :is(p, h3, h4, figure), .demo-limited :is(p, h3, dl, dd) { margin: 0; }
.demo-store img { display: block; width: 100%; max-width: 100%; height: auto; }
.demo-store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: #22172c;
  border-bottom: 1px solid #5b4765;
  padding: 10px clamp(14px, 3.8cqw, 42px);
}
.demo-store-brand { display: flex; align-items: center; gap: 7px; font-weight: 900; font-size: .94rem; letter-spacing: .08em; white-space: nowrap; }
.demo-store-brand small { font-size: .59rem; color: #ded0f2; font-weight: 700; }
.demo-store-moon { width: 15px; height: 15px; border-radius: 50%; box-shadow: -5px 1px 0 0 #e5c4ff; transform: rotate(-30deg); margin-left: 4px; }
.demo-store-head button {
  min-height: 41px;
  border: 1px solid #8a7297;
  border-radius: 2px;
  background: transparent;
  color: var(--demo-cream);
  padding: 5px 11px;
  font-size: .73rem;
  font-weight: 700;
}
.demo-store-head button:hover { background: #493453; }
.demo-shop-hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: stretch; background: #281a36; }
.demo-shop-copy { padding: clamp(24px, 5.2cqw, 65px) clamp(15px, 4cqw, 47px); align-self: center; }
.demo-kicker { color: #d8b5ff; font-size: .65rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; }
.demo-shop-copy h3, .demo-shop-section h3, .demo-builder h3 {
  color: #fff2ff;
  font-family: var(--display, system-ui);
  font-size: clamp(2.25rem, 5.8cqw, 4.1rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .99;
  margin: 10px 0 13px;
}
.demo-shop-copy > p:last-of-type { color: #e1d3e7; font-size: .88rem; line-height: 1.65; max-width: 26ch; margin-bottom: 14px; }
.demo-shop-photo { min-width: 0; min-height: 280px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 28%, #59304f, #301629); }
.demo-shop-photo img { position: absolute; width: 100%; height: 100%; object-fit: contain; }
.demo-shop-action {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  min-height: 44px;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #e8d4fb;
  color: #281934;
  padding: 8px 12px;
  font-size: .8rem;
  font-weight: 900;
  line-height: 1.3;
}
.demo-shop-action:hover { background: #f8efff; }
.demo-shop-action span { font-size: .96rem; }
.demo-shop-info {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.3fr;
  gap: 0 14px;
  padding: 13px clamp(14px, 3.8cqw, 42px);
  border-top: 1px solid #755a7e;
  background: #21172a;
}
.demo-shop-info > div { padding: 8px 0; min-width: 0; }
.demo-shop-info > div > span { color: #eccef9; font-size: .63rem; font-weight: 800; letter-spacing: .09em; }
.demo-shop-info > div p { color: #f4e7f6; font-size: .8rem; line-height: 1.45; margin-top: 3px; }
#demo-essential-note:not(:empty) { color: #f4ddff; font-size: .78rem; line-height: 1.5; margin-top: 9px; }

.demo-shop-section { padding: clamp(23px, 3.8cqw, 46px); }
.demo-shop-section h3 { font-size: clamp(2rem, 5.15cqw, 3.4rem); }
.demo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.demo-chips button {
  min-height: 42px;
  padding: 5px 10px;
  background: transparent;
  color: #f7eafb;
  border: 1px solid #8a7096;
  border-radius: 3px;
  font-size: .73rem;
  font-weight: 800;
}
.demo-chips button:hover { background: #4c3459; }
.demo-chips button[aria-pressed="true"] { border-color: #e4c4fb; background: #e4c4fb; color: #291836; }
.demo-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.demo-product { min-width: 0; background: #322440; border: 1px solid #735984; border-radius: 3px; overflow: clip; }
.demo-product img { height: auto; aspect-ratio: 1; object-fit: contain; }
.demo-product-body { padding: 11px 12px; }
.demo-product-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 6px; }
.demo-product-title h4 { color: #fff3fd; font: 700 .86rem var(--display, system-ui); }
.demo-product-title strong { color: #f5d7ff; font-size: .73rem; white-space: nowrap; }
.demo-product p { margin: 6px 0 8px; color: #e3d3ed; font-size: .72rem; line-height: 1.5; }
.demo-product button { display: block; min-height: 41px; padding: 5px 8px; color: #f8eaff; background: #473053; border: 1px solid #866397; border-radius: 2px; font-size: .7rem; font-weight: 800; }
.demo-product button:hover { background: #61416d; }
.demo-order-gallery { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(10px, 3cqw, 35px); padding: 0 clamp(16px, 3.8cqw, 46px) clamp(22px, 3.8cqw, 46px); }
.demo-order-gallery h3 { color: #fff3ff; font: 700 clamp(1.1rem, 2.8cqw, 1.65rem) var(--display, system-ui); margin: 0 0 10px; }
.demo-order-gallery figure { border: 1px solid #755b80; }
.demo-order-gallery figure img { aspect-ratio: 1.45; object-fit: contain; background: #321931; }
.demo-order-gallery figcaption { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 3px 8px; color: #efdbf8; font-size: .72rem; }
.demo-order-gallery figcaption button { width: 43px; min-height: 43px; border: 1px solid transparent; color: #f7e3ff; background: transparent; border-radius: 2px; }
.demo-order-gallery figcaption button:hover { background: #493557; }
.demo-order { min-width: 0; background: #2f223c; border: 1px solid #755b80; padding: 13px; }
.demo-order-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(70px, .38fr); gap: 9px; margin-bottom: 12px; }
.demo-order-fields label { font-size: .73rem; color: #f2dff8; line-height: 1.5; }
.demo-order-fields :is(select, input) { width: 100%; min-width: 0; min-height: 44px; margin-top: 3px; background: #21152d; border: 1px solid #9679aa; padding: 6px; border-radius: 2px; color: #fff2ff; font-size: .83rem; color-scheme: dark; }

.demo-builder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; border-top: 1px solid #71547f; }
.demo-builder-picture { min-width: 0; min-height: 275px; display: grid; place-items: end start; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 28%, #573469, #2b1437); }
.demo-builder-picture img, .demo-builder-picture::after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.demo-builder-picture::after { content: ''; background: linear-gradient(0deg, #140a1cf0 0%, transparent 85%); }
.demo-builder-picture > div { position: relative; z-index: 1; padding: 19px clamp(13px, 3.2cqw, 40px); }
.demo-builder-picture h3 { font-size: clamp(1.65rem, 3.8cqw, 3rem); }
.demo-builder-body { background: #291b38; padding: clamp(13px, 3.1cqw, 33px); }
.demo-builder fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 16px; }
.demo-builder legend { color: #ffecff; font-weight: 800; font-size: .85rem; margin-bottom: 5px; }
.demo-size-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.demo-size-options label { min-width: 0; position: relative; }
.demo-size-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.demo-size-options label span { display: grid; gap: 3px; min-height: 48px; color: #f4e4fa; background: #21152d; padding: 6px; border: 1px solid #8e70a1; border-radius: 2px; text-align: center; line-height: 1.2; cursor: pointer; }
.demo-size-options small { font-size: .67rem; }
.demo-size-options strong { font-size: .75rem; }
.demo-size-options input:checked + span { background: #e3c6fa; color: #291a37; }
.demo-size-options input:focus-visible + span { outline: 2px solid #eacfef; outline-offset: 2px; }
.demo-extra-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.demo-extra-options label { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 5px; min-height: 44px; padding: 4px 6px; border-bottom: 1px solid #654b74; font-size: .72rem; color: #fff1ff; cursor: pointer; }
.demo-extra-options input { width: 15px; height: 15px; margin: 0; accent-color: #d6aaf5; }
.demo-extra-options small { color: #eacff4; margin-left: auto; font-size: .65rem; white-space: nowrap; }
.demo-builder-total { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: .79rem; color: #f5dffa; padding: 8px 0 11px; }
.demo-builder-total output { color: #f2d3ff; font: 800 clamp(1.1rem, 2.8cqw, 1.6rem) var(--display, system-ui); white-space: nowrap; }
.demo-review:not(:empty) { margin-top: 12px; }
.demo-review-body { color: #faeeff; background: #21162b; border: 1px solid #a283ae; border-radius: 2px; padding: 10px; }
.demo-review p { color: #faeeff; font-size: .76rem; line-height: 1.5; }
.demo-review button { min-height: 43px; margin-top: 8px; padding: 5px 8px; border: 1px solid #a283ae; color: #fff1ff; background: #483256; border-radius: 2px; font-size: .74rem; font-weight: 800; }
.demo-review button:hover { background: #654677; }
.demo-review .demo-feedback { color: #ffe5fe; margin-top: 8px; }

.demo-limited {
  width: 100%;
  min-width: 0;
  padding: clamp(20px, 7cqw, 67px) clamp(13px, 6cqw, 55px);
  color: #211a20;
  background: #e8e4df;
  border-radius: 0 0 5px 5px;
  animation: demo-appear 360ms ease both;
}
.demo-limited-stamp { display: grid; place-items: center; width: 43px; height: 43px; background: #ccc4cb; color: #372b39; font: 800 .85rem var(--display, system-ui); border: 1px solid #aaa1a8; margin-bottom: 15px; }
.demo-limited h3 { font-family: var(--display, system-ui); font-size: clamp(1.65rem, 5.5cqw, 3.3rem); line-height: 1.05; color: #291d29; margin: 4px 0 8px; }
.demo-limited .demo-kicker { color: #605369; }
.demo-limited > p:not(.demo-kicker) { line-height: 1.6; font-size: .87rem; }
.demo-limited dl { display: flex; gap: 13px 32px; flex-wrap: wrap; border-block: 1px solid #ada4a9; margin-block: 16px; padding: 12px 0; }
.demo-limited dt { font-size: .76rem; font-weight: 900; }
.demo-limited dd { font-size: .77rem; color: #554752; }
.demo-limited-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-limited-actions button { min-height: 44px; border: 1px solid #827782; border-radius: 2px; padding: 7px 9px; background: #e0d9df; color: #352838; font-size: .75rem; font-weight: 800; }
.demo-limited-actions button:hover { background: #d2c7d2; }
.demo-limited .demo-limited-answer:not(:empty) { margin-top: 10px; color: #4f3b51; }
.demo-limited button:focus-visible { outline-color: #5d4960; }

@container demo-screen (max-width: 630px) {
  .demo-shop-hero { grid-template-columns: 1fr; }
  .demo-shop-copy { padding: 23px 16px; }
  .demo-shop-photo { min-height: 0; aspect-ratio: 1.18; }
  .demo-shop-info { grid-template-columns: 1fr 1fr; }
  .demo-shop-info > div:last-child { grid-column: 1 / -1; border-top: 1px solid #654c73; }
  .demo-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .demo-product-body { padding: 7px; }
  .demo-order-gallery, .demo-builder { grid-template-columns: 1fr; }
  .demo-builder-picture { min-height: 205px; }
}
@container demo-screen (max-width: 330px) {
  .demo-shop-section { padding: 15px 10px; }
  .demo-products { grid-template-columns: 1fr; }
  .demo-order-gallery { padding-inline: 10px; }
  .demo-order { padding-inline: 9px; }
  .demo-builder-body { padding-inline: 9px; }
  .demo-extra-options { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .demo-mode { width: 100%; }
  .demo-stage { padding: clamp(4px, 1.3vw, 9px); }
  .demo-caption { margin-top: 10px; }
}
@media (max-width: 460px) {
  .demo-mode button { padding-inline: 6px; }
  .demo-tier-controls button { padding-inline: 5px; font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-mount *, .demo-mount *::before, .demo-mount *::after { animation: none !important; transition: none !important; }
}
