/* R2: scoped to public examples and demo. */
.wz-home-hero .wz-front-product{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center}
.wz-home-hero .wz-front-product>img{width:56px;height:62px}
.wz-home-hero .wz-front-cart-button{display:flex;align-items:center;justify-content:center;gap:6px;width:112px;min-height:44px;padding:9px 10px;background:#ce024b;border:1px solid #ce024b;border-radius:9px;color:#fff;font:inherit;font-size:11px;font-weight:600;line-height:1.4;text-align:center;cursor:pointer}
.wz-front-cart-button .wz-front-cart-icon{width:16px;height:16px;flex-shrink:0;color:inherit}
.wz-home-hero .wz-front-cart-button:disabled{cursor:default}
.wz-home-hero .wz-front-cart-button[data-added-to-example]{background:#ecfdf5;border-color:#bfe7d6;color:#13765b}
.wz-home-hero .wz-front-cart-status{display:block;font-size:10px;line-height:1.5;color:#13765b;margin-top:9px}
.wz-home-hero .wz-front-cart-status:empty{display:none}
.wz-front-cart-button:focus-visible,.wz-front-order-example button:focus-visible,.wz-demo-resize:focus-visible{outline:2px solid #ce024b;outline-offset:3px}
/* Two balanced rows for the four commerce benefits, with no impact on other grids. */
.wz-front-benefits{background:#fbfcfe}
.wz-front-benefits .wz-commerce-heading{max-width:770px}
.wz-front-benefits .wz-detail-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.wz-front-benefits .wz-detail-data-grid article{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:18px;align-content:start;border:1px solid #e5eaf1;border-radius:16px;padding:28px;background:#fff;box-shadow:0 4px 18px #011d3c03}
.wz-front-benefits .wz-detail-data-grid .wz-data-icon{grid-column:1;grid-row:1/3;box-sizing:border-box;width:44px;height:44px;padding:11px;background:#fff1f6;color:#ce024b;border-radius:11px}
.wz-front-benefits .wz-detail-data-grid h3{grid-column:2;margin:1px 0 10px;font-size:22px;line-height:1.3}
.wz-front-benefits .wz-detail-data-grid p{grid-column:2;margin:0;font-size:14px;line-height:1.75}
/* Multi-turn conversations and widget-style order form. */
.wz-agent-hero .wz-front-followup{margin-top:15px}
.wz-agent-hero .wz-agent-scenario{min-height:425px}
.wz-front-order-example{margin-top:14px;color:#1a1c1e}
.wz-front-order-form label{display:block;font-size:10px;line-height:1.5;font-weight:600;margin:8px 0 5px;color:#53657a}
.wz-front-order-form input{display:block;box-sizing:border-box;width:100%;min-width:0;border:1px solid #d9dde3;border-radius:14px;padding:9px 12px;margin:0 0 8px;background:#fff;font:inherit;font-size:13px;line-height:1.35;color:#1a1c1e}
.wz-front-order-form input:focus-visible{outline:2px solid #ce024b;outline-offset:2px}
.wz-front-order-form button{display:block;width:100%;box-sizing:border-box;border:1px solid #ce024b;border-radius:12px;min-height:42px;padding:8px 12px;font:inherit;font-weight:700;cursor:pointer;background:#ce024b;color:#fff;font-size:12px;line-height:1.35;text-align:center}
.wz-front-order-form button:disabled{cursor:default}
.wz-front-order-example small{display:block;margin-top:9px;font-size:10px;line-height:1.5;color:#64748b}
.wz-front-order-result[hidden],.wz-front-order-form[hidden],.wz-demo-resize[hidden]{display:none!important}
.wz-front-order-result{border:1px solid #dce7e2;background:#fff;border-radius:12px;padding:16px}
.wz-front-order-status{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;flex-wrap:wrap}
.wz-front-order-status>span{padding:4px 8px;background:#ecfdf5;color:#13765b;border-radius:6px;font-size:10px;font-weight:600}
.wz-agent-hero .wz-front-order-result>p{margin:13px 0;font-size:12px;line-height:1.7;color:#354e67}
.wz-front-order-result ol{display:grid;gap:10px;list-style:none;padding:0;margin:14px 0}
.wz-front-order-result li{display:flex;gap:8px;align-items:center;font-size:11px;color:#355d4f}
.wz-front-step-icon{width:16px;height:16px;flex-shrink:0}
.wz-front-order-reset{display:block;margin-top:12px;padding:5px 0;background:none;border:0;color:#355a78;font:inherit;font-size:11px;text-decoration:underline;cursor:pointer}
.wz-front-support-card{display:flex;align-items:flex-start;gap:11px;padding:13px;background:#fff;border:1px solid #e1e7ef;border-radius:10px;margin-top:14px}
.wz-front-support-icon{width:20px;height:20px;flex-shrink:0;color:#ce024b}
.wz-front-support-card strong{display:block;font-size:11px;line-height:1.5;color:#011d3c}
.wz-front-support-card span{display:block;font-size:10px;line-height:1.6;margin-top:5px;color:#5c6f85}
.wz-front-support-card small{display:block;font-size:9px;line-height:1.6;margin-top:8px;color:#13765b}
/* The whole frame fits below the sticky site header, toolbar included. */
.wz-demo-viewport{--wz-demo-header:73px;padding-top:34px;padding-bottom:36px}
.wz-demo-viewport .wz-demo-heading{margin-bottom:24px}
.wz-demo-viewport .wz-demo-heading h1{font-size:40px}
.wz-demo-viewport .wz-demo-heading p{margin-top:12px;font-size:15px}
.wz-demo-viewport .wz-demo-eyebrow{margin-bottom:10px}
.wz-demo-viewport .wz-demo-screen{position:sticky;top:calc(var(--wz-demo-header) + 8px);z-index:2;height:calc(100vh - var(--wz-demo-header) - 16px);height:calc(100dvh - var(--wz-demo-header) - 16px);display:flex;flex-direction:column;min-height:0;isolation:isolate;scroll-margin-top:calc(var(--wz-demo-header) + 8px)}
.wz-demo-viewport .wz-demo-toolbar{flex:0 0 auto;flex-wrap:wrap;gap:8px 12px;min-height:48px}
.wz-demo-viewport .wz-demo-store{margin-inline-end:auto}
.wz-demo-viewport .wz-demo-open{margin-inline-start:0}
.wz-demo-viewport .wz-demo-frame{width:100%;height:0;min-height:0;flex:1 1 0;border:0}
.wz-demo-resize{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid #dbe3ed;border-radius:8px;background:#fff;color:#193a59;font:inherit;font-size:12px;line-height:1.4;font-weight:600;cursor:pointer}
.wz-demo-resize:hover{border-color:#9dabbc}
.wz-demo-viewport .wz-demo-screen--expanded{position:fixed;inset:0;z-index:2147483000;width:100%;height:100vh;height:100dvh;border:0;border-radius:0;margin:0;background:#fff}
.wz-demo-viewport .wz-demo-screen--expanded .wz-demo-toolbar{padding-top:max(10px,env(safe-area-inset-top));padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}
@media(max-width:1199px){.wz-demo-viewport{--wz-demo-header:65px}}
@media(max-width:767px){
 .wz-front-benefits .wz-detail-data-grid{grid-template-columns:1fr;gap:15px}
 .wz-front-benefits .wz-detail-data-grid article{padding:22px 18px;column-gap:14px}
 .wz-front-benefits .wz-detail-data-grid h3{font-size:20px}
 .wz-demo-viewport{padding:24px 10px}
 .wz-demo-viewport .wz-demo-heading h1{font-size:30px}
 .wz-demo-viewport .wz-demo-toolbar{padding:8px;gap:7px}
 .wz-demo-viewport .wz-demo-store{flex:1 1 100%;font-size:11px}
 .wz-demo-viewport .wz-demo-open,.wz-demo-resize{font-size:11px;flex:1;line-height:1.4;text-align:center}
 .wz-demo-viewport .wz-demo-screen--expanded .wz-demo-toolbar{padding-left:10px;padding-right:10px}
}
@media(max-width:540px){
 .wz-home-hero .wz-front-product{grid-template-columns:50px minmax(0,1fr);column-gap:12px;row-gap:8px}
 .wz-home-hero .wz-front-product>img{width:50px;height:60px}
 .wz-home-hero .wz-front-cart-button{grid-column:2;width:100%;font-size:11px;min-height:40px}
}
