/* Interactive samples: clear controls and readable results at every width. */
.demo-grid { align-items: start; gap: 32px; }
.store-demo, .flow-demo { min-height: 0; padding: 28px; border-radius: 12px; }
.demo-label { font-size: 10px; letter-spacing: 1px; }
.store-header { margin-top: 20px; gap: 12px; }
.store-header > strong { font-size: 32px; }
.cart-counter { font-size: 12px; white-space: nowrap; }
.cart-counter > span { display: grid; place-items: center; min-width: 26px; height: 26px; border: 1px solid #959c86; border-radius: 50%; }
.store-demo > h3 { font-size: 16px; line-height: 1.5; }
.product-stage { min-height: 0; height: 190px; margin-top: 24px; border-radius: 8px; background: #e5dfd0; }
.product-art { height: 100%; width: 100%; }
.product-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.product-picker button { border: 1px solid #c5c7b7; border-radius: 6px; background: transparent; color: #414b36; padding: 12px 9px; text-align: left; font-size: 12px; line-height: 1.4; min-height: 78px; }
.product-picker button span { display: block; }
.product-picker button strong { display: block; margin-top: 7px; font-size: 12px; }
.product-picker button:hover { background: #e3e3d3; }
.product-picker button[aria-pressed="true"] { background: #414b36; color: #fffdf3; border-color: #414b36; box-shadow: inset 0 0 0 1px #414b36; }
.product-info { flex-direction: column; align-items: stretch; gap: 16px; padding-block: 22px; }
.product-info h4 { font-size: 22px; }
.product-info p { font-size: 12px; }
.store-add { width: 100%; justify-content: space-between; font-size: 13px; padding: 13px 16px; min-height: 48px; border-radius: 5px; }
.cart-panel { border-top: 1px solid #c8cbbd; padding-top: 19px; }
.cart-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-title h4 { font-size: 14px; font-weight: 600; }
.cart-title > button, [data-order-back] { background: transparent; color: #414b36; border: 0; text-decoration: underline; font-size: 12px; min-height: 44px; padding: 5px; }
.cart-empty { padding-block: 16px; font-size: 13px; color: #60674f; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-items li { padding-block: 14px; border-bottom: 1px solid #d4d4c6; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13px; }
.cart-items li > span { line-height: 1.5; }
.cart-items li > strong { text-align: right; grid-column: 2; grid-row: 1; font-size: 13px; }
.cart-quantity { display: flex; align-items: center; gap: 4px; grid-column: 1 / -1; }
.cart-quantity button { min-width: 44px; min-height: 44px; background: #e1e1d2; border: 1px solid #c6c9b8; color: #414b36; border-radius: 4px; font-size: 18px; }
.cart-quantity button:last-child { margin-left: auto; background: transparent; font-size: 23px; }
.cart-quantity > span { min-width: 28px; text-align: center; }
.cart-totals { margin: 16px 0; font-size: 13px; }
.cart-totals > div { display: flex; justify-content: space-between; gap: 16px; padding-block: 4px; }
.cart-totals dd { margin: 0; }
.cart-totals .cart-total { border-top: 1px solid #c8cbbd; padding-top: 13px; margin-top: 10px; font-weight: 600; font-size: 16px; }
.demo-review { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 16px; background: transparent; border: 1px solid #59644a; border-radius: 5px; color: #414b36; padding: 12px 14px; min-height: 48px; font-size: 13px; }
.demo-review:hover { background: #e1e1d2; }
.order-preview { margin-top: 20px; padding: 20px; border: 1px solid #9caa8e; border-radius: 6px; background: #e1e6d4; }
.order-preview > p { margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
.order-preview > strong { display: block; font-size: 26px; margin-bottom: 12px; }
.demo-fineprint { margin-top: 16px; font-size: 11px; line-height: 1.7; color: #626b55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.flow-demo { background: #122622; border-color: #3d5950; }
.flow-demo:after { display: none; }
.flow-demo > h3 { font-size: 38px; margin-top: 25px; }
.flow-sub { font-size: 13px; max-width: none; line-height: 1.7; }
.flow-config { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-block: 1px solid #365048; padding-block: 20px; margin-top: 22px; }
.flow-config > p { grid-column: 1 / -1; color: #b4ccbf; }
.flow-config label { font-size: 12px; color: #c4d3c8; min-width: 0; }
.flow-config select { width: 100%; min-height: 46px; border: 1px solid #5a7263; background: #203c32; border-radius: 5px; color: #f0f4e9; padding: 9px 7px; font-size: 14px; margin-top: 7px; }
.sample-label { color: #aac2b4; margin-top: 24px; }
.flow-steps { margin-block: 12px 22px; }
.flow-steps li { align-items: flex-start; gap: 12px; padding-block: 13px; min-height: 83px; }
.flow-step-icon { flex: 0 0 36px; width: 36px; height: 36px; font: 12px monospace; border-radius: 50%; }
.flow-steps li:not(:last-child):after { left: 17px; top: 53px; height: calc(100% - 44px); }
.flow-steps strong { display: block; font-size: 14px; font-weight: 500; padding-top: 5px; }
.flow-steps p { font-size: 12px; line-height: 1.6; margin-top: 7px; color: #acc3b4; }
.flow-check { padding-top: 6px; }
.flow-run { margin-top: 0; font-size: 14px; min-height: 48px; border-radius: 5px; }
.flow-status { margin-top: 14px; font-size: 12px; line-height: 1.7; min-height: 42px; }
.workflow-result { padding: 21px; background: #243f33; border: 1px solid #62886e; border-radius: 7px; margin-top: 18px; }
.workflow-result .demo-label { color: #bed9bd; }
.workflow-result h4 { font-size: 19px; font-weight: 500; line-height: 1.4; margin-block: 14px 10px; }
.workflow-result > p:not(.demo-label), .workflow-result dl { font-size: 13px; line-height: 1.8; color: #d0dfce; }
.workflow-result dl { padding-top: 14px; border-top: 1px solid #476751; margin-bottom: 0; }
.workflow-result dt { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #adcfb1; }
.workflow-result dd { margin: 4px 0 0; }
.savings-calculator { border-top: 1px solid #365048; padding-top: 24px; margin-top: 25px; }
.savings-calculator h4 { font-size: 16px; font-weight: 500; line-height: 1.5; margin-bottom: 14px; }
.savings-calculator label { display: block; font-size: 13px; color: #b8ccbf; }
.savings-calculator input { width: 100%; accent-color: #b6d7b8; min-height: 44px; cursor: pointer; margin: 4px 0; }
.savings-calculator > p:not(.demo-fineprint) { font-size: 13px; color: #b8ccbf; }
.savings-calculator strong { font-size: 35px; font-weight: 500; color: #e5f1df; padding-right: 7px; }
.savings-calculator .demo-fineprint { color: #a8c0b0; }
.demo-caption p { font-size: 13px; }
@media (max-width: 1000px) and (min-width: 681px) {
  .store-demo, .flow-demo { padding: 20px; }
  .store-header { align-items: flex-start; flex-direction: column; }
  .flow-config { grid-template-columns: 1fr; }
  .product-picker { gap: 5px; }
  .product-picker button { padding: 10px 6px; font-size: 11px; }
}
@media (max-width: 680px) {
  .demo-grid { gap: 40px; }
  .store-demo, .flow-demo { padding: 22px; max-width: none; }
  .demo-label { font-size: 9px; letter-spacing: .7px; }
  .store-header > strong { font-size: 29px; }
  .cart-counter { font-size: 11px; }
  .product-picker button { font-size: 11px; padding: 11px 7px; }
  .flow-config select { font-size: 16px; }
  .flow-demo > h3 { font-size: 36px; }
}
@media (max-width: 370px) {
  .store-demo, .flow-demo { padding: 17px; }
  .store-header { align-items: flex-start; flex-direction: column; gap: 9px; }
  .flow-config { grid-template-columns: 1fr; }
  .workflow-result { padding: 15px; }
}

.chip-icon svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
