:root {
  --demo-bar-height: 0px;
}

html {
  scroll-padding-top: var(--demo-bar-height);
}

body {
  padding-top: var(--demo-bar-height) !important;
}

.demo-safety-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 2147483647;
  min-height: var(--demo-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  color: #fff;
  background: #202124;
  border-bottom: 2px solid #ffcc00;
  font: 12px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.demo-safety-bar strong {
  color: #ffdf66;
  letter-spacing: .04em;
}

.modal-close {
  z-index: 3;
}

.topbar,
.appbar {
  top: var(--demo-bar-height) !important;
}

.controls {
  top: calc(var(--demo-bar-height) + 60px) !important;
}

.demo-disabled-note {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #f0b429;
  border-radius: 10px;
  color: #5d4300;
  background: #fff8db;
  font-size: 13px;
  line-height: 1.45;
}

.demo-product-main {
  padding-bottom: 92px;
}

.product-heading .title {
  margin-bottom: 10px;
}

.product-proof {
  display: grid;
  grid-template-columns: minmax(92px, 1.2fr) minmax(76px, .9fr) minmax(92px, 1fr);
  align-items: stretch;
  color: #555;
}

.proof-rating,
.proof-metric {
  min-width: 0;
  padding: 0 10px;
  border-left: 1px solid #ececec;
  font-size: 12px;
  line-height: 1.25;
}

.proof-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 0;
  border-left: 0;
}

.proof-rating b,
.proof-metric b {
  display: block;
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.proof-rating .stars {
  display: flex;
  margin-bottom: 0;
}

.proof-metric span {
  display: block;
  margin-top: 2px;
  color: #777;
}

.proof-today strong {
  display: block;
  color: #168447;
  font-size: 13px;
  line-height: 1.3;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #d7461f;
  font-size: 13px;
  line-height: 1.35;
}

.product-stock b {
  font-weight: 700;
}

.demo-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.demo-product-notice {
  flex-wrap: wrap;
}

.demo-flash-note {
  display: inline-block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
  opacity: .86;
}

.flash .ends {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.offer-label {
  line-height: 1.3;
}

.offer-clock {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.offer-clock span {
  min-width: 24px;
  padding: 2px 4px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.demo-reviews .panel-title span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

.demo-reviews .panel-title {
  justify-content: space-between;
}

.demo-reviews .panel-title .reviews-score {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.customer-review-list { display: flex; flex-direction: column; }

.customer-review {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.customer-review:first-child { border-top: 0; }

.customer-review-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--brand-tint);
}

.customer-review-content { min-width: 0; }

.customer-review-name { font-size: 13px; font-weight: 600; }

.customer-review-stars {
  margin-top: 2px;
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1;
}

.customer-review p {
  margin-top: 6px;
  color: #3a3a3a;
  font-size: 13px;
  line-height: 1.5;
}

.demo-review-disclosure {
  margin: 0 0 4px;
  padding: 10px 12px;
  border: 1px solid #f0b429;
  border-radius: 8px;
  color: #5d4300;
  background: #fff8db;
  font-size: 12px;
  line-height: 1.45;
}

.demo-reviews .who small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.demo-review-stars {
  margin-top: 6px;
}

.demo-product-actions .side {
  line-height: 1;
}

.demo-product-actions .side span {
  font-size: 10px;
}

.demo-product-actions .buy {
  min-height: 56px;
  border-radius: 0;
}

.demo-product-actions .add.added {
  background: #168f80;
}

.demo-shop-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd4c8;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-tint);
  font-size: 11px;
  font-weight: 700;
}

.demo-shop-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.demo-cart-thumb {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex: 0 0 74px;
  background: #fff;
  border-radius: 8px;
}

.buy-notif .prod {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  font-size: 11px;
  opacity: .85;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-checkout-form input {
  width: 100%;
}

.demo-payment-disabled {
  padding: 26px 18px;
  text-align: center;
}

@media (max-width: 520px) {
  .proof-rating,
  .proof-metric {
    padding-right: 7px;
    padding-left: 7px;
  }

  .proof-rating {
    padding-left: 0;
  }
  .demo-safety-bar { flex-direction: column; gap: 1px; padding: 6px 10px; }
}

.product-viewers{display:flex;align-items:center;gap:6px;margin:8px 0 10px;color:#16a36a;font-size:12px;line-height:1.4}.product-viewers strong{font-weight:700;white-space:nowrap}.product-viewers-dot{width:9px;height:9px;border-radius:50%;background:#69d99b;flex:0 0 9px}
.product-activity-notice{position:fixed;left:14px;bottom:calc(78px + env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:10px;width:min(310px,calc(100vw - 28px));padding:9px 12px;background:#262626;color:#fff;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.24);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .25s ease,transform .25s ease}.product-activity-notice.show{opacity:1;transform:translateY(0)}.product-activity-notice img{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border-radius:6px;background:#fff}.product-activity-copy{display:grid;gap:2px;min-width:0;font-size:12px;line-height:1.3}.product-activity-copy strong{font-size:12px}.product-activity-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-activity-copy small{font-size:11px;color:#c8c8c8}