/* Purpose-built marketing previews for supermarket checkout and retail storefronts. */
.commerce-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.solution-visual:has(.retail-pos),.solution-visual:has(.commerce-site){margin-right:0}
.solution-visual .retail-pos,.solution-visual .commerce-site{min-width:0;transform:none}
.product-hero-visual:has(.retail-pos),.product-hero-visual:has(.commerce-site){margin-right:0}
.product-hero-visual .retail-pos,.product-hero-visual .commerce-site{transform:perspective(1600px) rotateY(-2deg)}
.retail-pos{container:supermarket-till / inline-size;background:#f0f3f7;line-height:1.4}
.retail-pos .till-topbar{height:44px;background:#123c60;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 15px;color:#fff}
.till-topbar>div{display:flex;align-items:center;gap:8px}.till-topbar .tiny-z{width:22px;height:23px;background:#fff;color:#0f6cbd;font-size:1rem}
.till-topbar strong{font-size:1rem;letter-spacing:-.05em;font-weight:650}.till-topbar strong>span{font-size:.63rem;font-weight:500;letter-spacing:.04em;margin-left:3px;color:#bed5e9}
.till-terminal{font-size:.49rem;letter-spacing:.09em;color:#c1d7e9}.till-operator{font-size:.52rem;display:flex;align-items:center;gap:9px;color:#d6e5f1}.till-operator b{font-weight:500;background:#ffffff12;padding:4px 6px;border:1px solid #ffffff20;border-radius:3px}
.till-toolbar{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:white;border-bottom:1px solid #dde5ee;font-size:.55rem;color:#7e8c9d;gap:10px}.till-toolbar-title{display:flex;align-items:center;gap:6px;color:#28475f;font-weight:600}.till-toolbar .icon{width:14px;height:14px;color:#0f6cbd}.till-toolbar b{margin-inline:7px;color:#bfccd8;font-weight:400}
.till-workspace{display:grid;grid-template-columns:1.53fr 1fr;gap:10px;padding:10px}.till-basket{min-width:0;display:flex;flex-direction:column}.till-scan{display:flex;align-items:center;gap:7px;border:1px solid #83afd5;background:#fff;box-shadow:0 0 0 2px #0f6cbd08;border-radius:4px;padding:9px 8px;font-size:.57rem;color:#728598;min-width:0}.till-scan>.icon{width:14px;height:14px;color:#0f6cbd}.till-scan>span:nth-child(2){flex:1;min-width:0}.till-scan kbd{font-family:inherit;border:1px solid #e1e7ed;background:#f8fafc;padding:1px 4px;border-radius:3px;font-size:.44rem;color:#8493a4}.till-barcode{display:block;height:15px;width:22px;background:repeating-linear-gradient(90deg,#5d7184 0,#5d7184 1px,transparent 1px,transparent 3px,#5d7184 3px,#5d7184 5px,transparent 5px,transparent 6px)}
.till-carts{display:flex;gap:6px;padding-block:10px 8px}.till-carts button{font-size:.58rem;font-weight:600;background:white;color:#6f8091;border:1px solid #dce4ed;padding:6px 7px;border-radius:4px;display:flex;align-items:center;justify-content:center;gap:8px;flex:1;white-space:nowrap;line-height:1.4}.till-carts button span{font-size:.42rem;font-weight:400;background:#edf1f5;padding:2px 4px;border-radius:2px;color:#8b98a7}.till-carts button[aria-pressed=true]{background:#ebf3fc;color:#0f6cbd;border-color:#88b5dc}.till-carts button[aria-pressed=true] span{background:#dcebf9;color:#4b83b2}.till-carts button:hover{border-color:#0f6cbd}
.till-cart-panel{background:white;border:1px solid #e0e7ef;border-radius:4px;overflow:hidden;flex:1;min-height:257px;display:flex;flex-direction:column}.till-receipt-heading{display:flex;align-items:center;justify-content:space-between;padding:9px 8px;color:#7f90a1;font-size:.48rem;border-bottom:1px solid #e8edf3}.till-receipt-heading span:first-child{color:#3e5e79;font-weight:600}.till-lines{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.56rem;line-height:1.4;color:#40556b}.till-lines th{font-weight:500;font-size:.47rem;color:#7a8d9f;padding:8px 6px;background:#f8fafc;text-align:right;border-bottom:1px solid #e4eaf1}.till-lines th:first-child{width:54%;text-align:left;padding-left:9px}.till-lines th:nth-child(2){width:11%;text-align:center}.till-lines th:nth-child(3){width:17%}.till-lines th:last-child{width:18%;padding-right:9px}.till-lines td{padding:8px 6px;border-bottom:1px solid #edf1f5;text-align:right;vertical-align:middle;font-variant-numeric:tabular-nums}.till-lines tbody tr:first-child{background:#eff6fd}.till-lines td:first-child{padding-left:9px;text-align:left}.till-lines td:last-child{padding-right:9px;font-weight:600}.till-lines td:nth-child(2){text-align:center}.till-lines td>b{background:#f0f4f8;border:1px solid #e0e7ee;padding:2px 5px;font-size:.53rem;font-weight:500;border-radius:3px}.till-lines strong{display:block;font-size:.56rem;font-weight:500;color:#2a4259;white-space:nowrap;letter-spacing:-.015em}.till-lines strong>small{font-size:.46rem;color:#8b9baa;font-weight:400;margin-left:2px}.till-lines td:first-child>span{display:block;font-size:.42rem;color:#99a8b7;margin-top:2px;letter-spacing:.025em}.till-basket-bottom{display:flex;align-items:center;justify-content:space-between;padding:8px 9px;margin-top:auto;color:#7d91a4;font-size:.46rem;background:#fbfcfe}
.till-functions{display:grid;grid-template-columns:1fr .85fr 1.15fr;gap:5px;margin-top:8px}.till-functions>span{display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 3px;border:1px solid #d9e3ed;border-radius:3px;background:#fff;color:#718398;font-size:.48rem;white-space:nowrap}.till-functions kbd{font-family:inherit;font-size:.41rem;color:#9aabbc}
.till-payment{background:white;border:1px solid #dde6ee;border-radius:5px;min-width:0;padding:9px}.till-total-display{background:#eaf3fd;border:1px solid #d8e9f9;padding:12px 10px 10px;border-radius:4px;color:#0c487c}.till-total-display>span:first-child{display:block;text-transform:uppercase;font-size:.45rem;letter-spacing:.08em;color:#648aa9}.till-total-display strong{display:block;font-size:1.75rem;font-weight:650;letter-spacing:-.045em;line-height:1.3;margin-block:3px;white-space:nowrap;font-variant-numeric:tabular-nums}.till-total-display strong small{font-size:.63rem;font-weight:500;letter-spacing:0}.till-total-display>span:last-child{font-size:.45rem;color:#7693ac}.till-total-display b{font-weight:400;padding-inline:5px}.till-summary dl{margin:10px 1px 9px;font-size:.52rem;color:#7c8d9e}.till-summary dl>div{display:flex;justify-content:space-between;gap:9px;margin-top:6px}.till-summary dd{margin:0;color:#455b70;font-variant-numeric:tabular-nums}.till-summary dl>div:last-child{border-top:1px solid #e5ecf3;padding-top:7px;margin-top:8px;font-weight:600;color:#2b4760}
.till-tenders{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:4px;margin-block:10px}.till-tenders button{border:1px solid #dbe4ed;background:#fff;border-radius:3px;padding:6px 3px;font-size:.49rem;font-weight:500;line-height:1.4;white-space:nowrap;color:#788a9d}.till-tenders button[aria-pressed=true]{color:#0f6cbd;background:#ebf3fc;border-color:#83b0d7}.till-tenders button:hover{border-color:#0f6cbd}.till-numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.till-numpad>span{display:grid;place-items:center;border:1px solid #e0e7ee;border-radius:3px;min-height:25px;background:#f7f9fc;font-size:.75rem;font-weight:500;color:#3e556c}.till-pay-label{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:8px;background:#0f6cbd;border-radius:4px;color:#fff;padding:9px 5px;font-size:.59rem;font-weight:650;letter-spacing:.03em}.till-pay-label .icon{width:12px;height:12px}.till-pay-label kbd{font-family:inherit;font-size:.45rem;opacity:.6;font-weight:400;margin-left:auto}.till-pay-label>span{margin-inline:auto}.till-demo-feedback{display:block;color:#95a4b3;font-size:.41rem;text-align:center;margin-top:7px;min-height:10px}.till-statusbar{display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:#e4ebf3;border-top:1px solid #d6e0ea;font-size:.43rem;color:#7a90a5}.till-statusbar b{padding-inline:5px;font-weight:400}.retail-pos.product-preview figcaption{font-size:.49rem;padding:8px 11px}
/* An online shop should look like a website, with departments and products. */
.commerce-site{container:retail-store / inline-size;background:#fff;line-height:1.45;color:#26394b}.retail-browser{display:flex;align-items:center;justify-content:space-between;gap:12px;height:29px;padding:0 11px;border-bottom:1px solid #e3e9ee;background:#f6f8fb;color:#91a0ad;font-size:.47rem}.retail-browser>span:nth-child(2){border:1px solid #e4e9ef;background:#fff;padding:2px 20px;border-radius:4px;display:flex;align-items:center;gap:5px;font-size:.44rem}.retail-browser .icon{width:10px;height:10px}.retail-browser-dots{display:flex;gap:4px}.retail-browser-dots i{width:4px;height:4px;background:#c1ccd6;border-radius:50%}.retail-browser-label{font-size:.4rem;color:#9dabb7}
.retail-announcement{background:#143b5b;color:#c1d7e8;text-align:center;padding:5px 10px;font-size:.43rem;letter-spacing:.04em}.retail-header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px 13px;gap:15px}.retail-wordmark{font-size:1.05rem;color:#193c58;font-weight:700;letter-spacing:-.07em;white-space:nowrap;line-height:1.2}.retail-wordmark>span{color:#0f6cbd;font-weight:450;letter-spacing:-.055em}.retail-search{display:flex;align-items:center;gap:8px;flex:1;max-width:220px;border:1px solid #e3e9ef;background:#f8fafc;border-radius:4px;padding:7px 9px;font-size:.48rem;color:#98a6b4}.retail-search .icon{width:12px;height:12px;color:#849aaf}.retail-cart{display:flex;align-items:center;gap:4px;font-size:.51rem;color:#5d7489;white-space:nowrap}.retail-cart .icon{width:16px;height:16px;margin-right:3px}.retail-cart b{display:grid;place-items:center;min-width:14px;height:14px;border-radius:50%;color:#fff;background:#0f6cbd;font-size:.43rem;font-weight:500}
.retail-departments{display:flex;align-items:center;justify-content:center;gap:28px;padding:8px 12px;border-top:1px solid #f2f4f7;border-bottom:1px solid #e8edf3;font-size:.5rem;font-weight:500;color:#596f83}.retail-campaign{margin:13px 17px 0;background:linear-gradient(110deg,#e7f0f7,#f0f4f7 60%,#e3edf5);border-radius:5px;min-height:170px;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden;position:relative}.retail-campaign-copy{padding:21px 0 20px 23px;position:relative;z-index:2}.retail-campaign-copy>span:first-child{font-size:.4rem;letter-spacing:.11em;color:#4d7b9f;font-weight:600}.commerce-site .retail-campaign h3{font-size:1.6rem;line-height:1.13;font-weight:600;letter-spacing:-.045em;color:#163750;margin-block:9px}.retail-campaign p{font-size:.58rem;line-height:1.6;color:#788fa2}.retail-shop-label{display:inline-block;margin-top:13px;background:#153d5d;color:#fff;padding:7px 11px;font-size:.46rem;font-weight:500;border-radius:3px}.retail-campaign-art{position:relative;min-width:0;align-self:stretch}.retail-art-disc{position:absolute;width:175px;height:175px;border:1px solid #cedde8;border-radius:50%;right:10px;top:10px;background:linear-gradient(135deg,#deebf4,#c6dae9)}.retail-hero-headphones{position:absolute;width:195px;right:5px;top:0;transform:rotate(-12deg);z-index:1}.retail-hero-serum{position:absolute;width:83px;bottom:4px;right:0;z-index:2;transform:rotate(8deg)}.retail-art-caption{position:absolute;right:116px;bottom:14px;font-size:.43rem;line-height:1.5;color:#7892a6;z-index:2}.retail-products{padding:18px 18px 11px}.retail-products-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:10px}.retail-products-title h4{font-size:.82rem;font-weight:600;letter-spacing:-.025em;color:#2d465c;line-height:1.3}.retail-products-title>span{font-size:.45rem;color:#96a5b3}.retail-filters{display:flex;align-items:center;gap:6px;margin-bottom:13px}.retail-filters button{font-size:.46rem;padding:4px 8px;background:#fff;color:#8494a4;border:1px solid #e3e9ef;border-radius:3px;font-weight:500;line-height:1.5}.retail-filters button[aria-pressed=true]{border-color:#c8dbed;color:#0f6cbd;background:#eff6fd}.retail-filters button:hover{border-color:#79a7ce;color:#0f6cbd}.retail-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.retail-product-card{min-width:0}.retail-product-picture{background:#edf2f6;border-radius:5px;position:relative;overflow:hidden;height:105px;display:grid;place-items:center}.retail-picture-shirt{background:#eff3ef}.retail-picture-serum{background:#f8f0e7}.retail-picture-mug{background:#edf3f4}.retail-product-picture>span{position:absolute;left:7px;top:6px;font-size:.34rem;color:#7f93a4;z-index:1}.retail-product-picture>.retail-product-art{width:100px;margin-top:7px;transition:transform .2s}.retail-product-card:hover .retail-product-picture>.retail-product-art{transform:translateY(-3px) rotate(-3deg)}.retail-product-category{display:block;font-size:.41rem;color:#9ba8b5;margin-top:7px;margin-bottom:3px}.retail-product-card h5{font-size:.53rem;line-height:1.45;font-weight:500;letter-spacing:-.012em;color:#354f66;margin:0;white-space:nowrap}.retail-price{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:6px}.retail-price strong{font-size:.57rem;letter-spacing:-.025em;color:#284862;font-weight:650;white-space:nowrap}.retail-price button{width:20px;height:20px;display:grid;place-items:center;line-height:1;font-size:.88rem;background:#fff;border:1px solid #d8e3ee;border-radius:4px;color:#0f6cbd}.retail-price button:hover{background:#0f6cbd;color:#fff;border-color:#0f6cbd}.retail-price button.is-added{background:#e8f4ec;border-color:#bfdcc9;color:#3b8057}.retail-demo-feedback{text-align:center;font-size:.44rem;color:#93a4b2;border-top:1px solid #edf1f5;padding-top:10px;margin-top:12px;min-height:22px}.commerce-site.product-preview figcaption{font-size:.48rem;padding:8px 11px;background:#fcfdff}
/* Readable compact previews wherever a page places them. */
@container supermarket-till (max-width: 470px){.till-terminal{display:none}.till-topbar strong{font-size:.9rem}.till-operator{font-size:.46rem}.till-workspace{grid-template-columns:1.45fr 1fr;gap:7px;padding:7px}.till-scan{padding:8px 6px;gap:4px;font-size:.48rem}.till-barcode{display:none}.till-carts{gap:4px}.till-carts button{font-size:.49rem;padding:6px 4px;gap:2px;flex-direction:column}.till-carts button span{font-size:.37rem;padding:0;background:transparent}.till-lines strong{font-size:.47rem}.till-lines strong>small{display:none}.till-lines td:first-child>span{font-size:.34rem}.till-lines{font-size:.44rem}.till-lines th{font-size:.39rem;padding:7px 4px}.till-lines th:first-child{width:53%;padding-left:6px}.till-lines th:nth-child(2){width:11%}.till-lines th:nth-child(3){width:18%}.till-lines th:last-child{width:18%;padding-right:6px}.till-lines td{padding:9px 4px}.till-lines td:first-child{padding-left:6px}.till-lines td:last-child{padding-right:6px}.till-lines td>b{padding:2px 4px;font-size:.43rem}.till-receipt-heading{font-size:.4rem;padding:8px 6px}.till-cart-panel{min-height:251px}.till-functions{gap:4px}.till-functions>span{font-size:.4rem;gap:3px;padding:6px 2px}.till-functions kbd{font-size:.34rem}.till-payment{padding:7px}.till-total-display{padding:10px 7px}.till-total-display strong{font-size:1.35rem}.till-total-display strong small{font-size:.46rem}.till-total-display>span:first-child{font-size:.4rem}.till-total-display>span:last-child{font-size:.4rem}.till-summary dl{font-size:.45rem}.till-tenders{gap:3px}.till-tenders button{font-size:.42rem;padding:6px 2px}.till-numpad>span{min-height:24px;font-size:.66rem}.till-pay-label{padding:8px 4px;font-size:.5rem}.till-pay-label kbd{font-size:.36rem}.till-demo-feedback{font-size:.35rem}.till-basket-bottom{font-size:.37rem}.till-statusbar{font-size:.37rem}.retail-pos.product-preview figcaption{font-size:.4rem}}
@container supermarket-till (max-width: 350px){.till-workspace{gap:5px;padding:6px;grid-template-columns:1.4fr 1fr}.till-payment{padding:5px}.till-total-display strong{font-size:1.17rem}.till-topbar{padding-inline:10px!important}.till-operator b{padding:3px 4px}.till-scan{font-size:.43rem}.till-scan>.icon{width:11px;height:11px}.till-scan kbd{font-size:.35rem;padding:1px 3px}.till-lines strong{font-size:.42rem}.till-lines{font-size:.4rem}.till-lines th{font-size:.36rem}.till-lines td,.till-lines th{padding-inline:3px}.till-lines td:first-child{padding-left:5px}.till-lines td:last-child{padding-right:5px}.till-lines td:first-child>span{font-size:.29rem}.till-receipt-heading>span:last-child{font-size:.35rem}.till-functions>span{font-size:.35rem;gap:2px}.till-functions kbd{display:none}.till-statusbar>span:last-child{font-size:.33rem}.till-tenders button{font-size:.37rem}.till-demo-feedback{font-size:.3rem}.retail-pos.product-preview figcaption{font-size:.35rem;padding:7px 8px}}
@container retail-store (max-width: 470px){.retail-header{padding:13px;gap:10px}.retail-wordmark{font-size:.95rem}.retail-search{font-size:.43rem;gap:5px;padding:6px 7px}.retail-search .icon{width:10px;height:10px}.retail-cart{font-size:.45rem;gap:3px}.retail-cart .icon{width:14px;height:14px;margin-right:0}.retail-departments{gap:15px;font-size:.44rem}.retail-campaign{margin:11px 12px 0;min-height:158px;grid-template-columns:1.18fr 1fr}.retail-campaign-copy{padding:18px 0 18px 16px}.commerce-site .retail-campaign h3{font-size:1.32rem}.retail-campaign-copy>span:first-child{font-size:.35rem}.retail-campaign p{font-size:.51rem}.retail-shop-label{font-size:.41rem;padding:6px 8px;margin-top:10px}.retail-art-disc{width:144px;height:144px;right:-1px;top:12px}.retail-hero-headphones{width:160px;right:-2px;top:5px}.retail-hero-serum{width:66px;right:-2px;bottom:3px}.retail-art-caption{font-size:.35rem;right:79px;bottom:13px}.retail-products{padding:15px 13px 10px}.retail-products-title h4{font-size:.7rem}.retail-products-title>span{font-size:.39rem}.retail-filters{gap:5px}.retail-filters button{font-size:.41rem;padding:4px 7px}.retail-product-grid{gap:8px}.retail-product-picture{height:83px}.retail-product-picture>.retail-product-art{width:84px}.retail-product-picture>span{left:5px;top:5px;font-size:.29rem}.retail-product-card h5{font-size:.43rem}.retail-product-category{font-size:.37rem}.retail-price strong{font-size:.48rem}.retail-price button{width:18px;height:18px;font-size:.8rem}.retail-demo-feedback{font-size:.39rem}.commerce-site.product-preview figcaption{font-size:.41rem}.retail-browser>span:nth-child(2){padding-inline:9px;font-size:.39rem}.retail-browser-label{font-size:.35rem}}
@container retail-store (max-width: 370px){.retail-header{gap:8px;padding:12px}.retail-wordmark{font-size:.9rem}.retail-search{font-size:.39rem;padding:6px;letter-spacing:-.015em;gap:4px}.retail-cart>span{display:none}.retail-cart b{width:13px;height:13px;min-width:13px;font-size:.38rem}.retail-departments{gap:12px;padding-inline:9px;font-size:.39rem}.retail-campaign{grid-template-columns:1.3fr 1fr;margin-inline:11px;min-height:151px}.retail-campaign-copy{padding:17px 0 16px 13px}.commerce-site .retail-campaign h3{font-size:1.15rem}.retail-campaign p{font-size:.47rem}.retail-campaign-copy>span:first-child{font-size:.3rem}.retail-hero-headphones{width:133px;right:-7px;top:11px}.retail-art-disc{width:128px;height:128px;right:-14px;top:18px}.retail-hero-serum{width:55px;right:-4px;bottom:6px}.retail-art-caption{font-size:.3rem;right:59px;bottom:14px}.retail-shop-label{font-size:.36rem}.retail-products-title h4{font-size:.68rem}.retail-products-title>span{display:none}.retail-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.retail-product-picture{height:100px}.retail-product-picture>.retail-product-art{width:100px}.retail-product-picture>span{font-size:.35rem}.retail-product-card h5{font-size:.55rem}.retail-product-category{font-size:.4rem}.retail-price strong{font-size:.57rem}.retail-price button{width:21px;height:21px}.retail-filters{gap:5px}.retail-filters button{font-size:.4rem;padding:4px 7px}.retail-announcement{font-size:.38rem}.retail-browser-label{display:none}.retail-browser>span:nth-child(2){font-size:.37rem}.commerce-site.product-preview figcaption{font-size:.36rem}}
@media(max-width:767px){.product-hero-visual .retail-pos,.product-hero-visual .commerce-site{min-width:0;transform:none}.solution-visual .retail-pos,.solution-visual .commerce-site{min-width:0;transform:none}}
@media(prefers-reduced-motion:reduce){.retail-product-picture>.retail-product-art{transition:none}}
