#live-commerce-dialog{width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:clamp(24px,5vw,48px);color:var(--ink);background:var(--cream);border:1px solid var(--line)}
#live-commerce-dialog h2{font:clamp(30px,5vw,46px)/1.1 var(--serif);overflow-wrap:anywhere;margin:24px 0}
#live-commerce-dialog p{font:16px/1.6 var(--sans);overflow-wrap:anywhere}
#live-commerce-dialog .field{display:grid;gap:12px;margin:20px 0;font:16px/1.5 var(--sans)}
#live-commerce-dialog input:not([type=checkbox]),#live-commerce-dialog select{width:100%;min-height:48px;padding:12px;border:1px solid var(--ink);border-radius:8px;background:var(--cream);color:var(--ink);font:16px var(--sans)}
#live-commerce-dialog input[type=checkbox]{width:24px;height:24px;accent-color:var(--ink)}
#live-commerce-dialog .button{margin:8px 8px 8px 0;min-height:48px;max-width:100%;white-space:normal}
#live-commerce-dialog :is(a,button,input,select):focus-visible{outline:3px solid #315bdf;outline-offset:4px}
#unwrapping #live-opening-actions{width:min(100%,420px);margin:0 auto;padding:6px 8px}
#unwrapping #live-opening-actions p{margin:0 0 4px;font-size:12px}
#unwrapping #live-opening-actions .button{min-height:44px;transform:none}#live-claim-policy{margin-right:12px}

#live-commerce-dialog h2{letter-spacing:-.02em}#live-commerce-dialog h2:focus{outline:none}
#live-commerce-dialog .live-consent{grid-template-columns:24px 1fr;align-items:start;gap:12px;min-height:44px;cursor:pointer}
#live-commerce-dialog .live-consent input{margin:2px 0 0}
#live-commerce-dialog .text-link{min-height:44px;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:5px}

.commerce-review-banner{position:relative;z-index:60;margin:0;padding:12px 20px;background:#f8da75;color:#183d35;font:600 15px/1.5 var(--sans);text-align:center}
.commerce-review-page{max-width:720px;margin:auto;padding:48px 24px;font:16px/1.6 var(--sans)}.commerce-review-page h1{font:44px/1.15 var(--serif)}.commerce-review-page .button{margin:10px 10px 10px 0;min-height:48px}
.commerce-review-tools{padding:24px;background:var(--cream);border-bottom:1px solid var(--line)}.commerce-review-tools .button{margin:8px}

/* Keep the retailer artwork and its action together on the recipient surface. */
.live-voucher-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,216px),1fr));gap:28px 20px;align-items:start}
.live-voucher-grid:has(>.live-voucher-card:only-child){grid-template-columns:minmax(0,360px)}
.live-voucher-card{min-width:0;display:grid;gap:9px;justify-items:start;align-content:start}
.live-voucher-card>.retailer-card-face{width:100%;max-width:none;height:auto}
.live-voucher-meta{display:flex;width:100%;align-items:baseline;justify-content:space-between;gap:12px}
.live-voucher-meta h3{margin:0;font:600 17px/1.25 var(--sans);overflow-wrap:anywhere}
.live-voucher-meta span{white-space:nowrap;font-weight:600}
#live-commerce-dialog .live-voucher-card p,#unwrapping .live-voucher-card p{margin:0}
#live-commerce-dialog .live-voucher-link,#unwrapping .live-voucher-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;text-align:center;white-space:normal;text-decoration:none}
#live-commerce-dialog .live-voucher-hint,#unwrapping .live-voucher-hint{font-size:13px;line-height:1.4}
.live-voucher-inline{width:100%;padding-block:4px 12px}
.live-voucher-inline .live-voucher-grid{justify-content:center}
#unwrapping .live-voucher-inline .live-voucher-card{justify-items:center;text-align:center}
#live-commerce-dialog .live-voucher-refresh,#unwrapping .live-voucher-refresh{margin-top:10px;min-height:44px}
.live-voucher-note{margin-top:26px;border-top:1px solid var(--line);padding-top:12px}
.live-voucher-note summary,.live-voucher-information summary{min-height:44px;align-content:center;cursor:pointer;text-underline-offset:3px}
.live-voucher-note blockquote{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:20px/1.45 var(--serif)}
.live-voucher-information{font-size:14px}
@media (prefers-reduced-motion:no-preference){
 .live-voucher-grid[data-arriving]>.live-voucher-card{animation:live-voucher-arrive .48s cubic-bezier(.22,.61,.36,1) both;animation-delay:calc(var(--voucher-index,0)*55ms)}
}
@keyframes live-voucher-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}

#live-commerce-dialog .live-voucher-expiry,#unwrapping .live-voucher-expiry{font:600 15px/1.5 var(--sans);font-variant-numeric:tabular-nums}
#live-commerce-dialog .live-voucher-terms,#unwrapping .live-voucher-terms{display:inline-flex;align-items:center;min-height:44px;font:500 15px/1.5 var(--sans);text-underline-offset:4px}
.live-voucher-information{width:100%;text-align:left;overflow-wrap:anywhere}
.live-voucher-information summary{font:500 15px/1.5 var(--sans);align-content:center}
.live-voucher-information>strong{display:block;margin:8px 0 4px;font:600 15px/1.5 var(--sans)}
#live-commerce-dialog .live-voucher-information>p,#unwrapping .live-voucher-information>p{margin:0 0 12px;font:16px/1.6 var(--sans);white-space:pre-line}

#live-commerce-dialog.live-order-confirmation{width:min(540px,calc(100% - 24px));padding:clamp(20px,4vw,34px);border-radius:22px}
.live-order-confirmation>button:first-child{display:block;margin:-8px 0 0 auto}
.live-order-confirmation>[role=status]:empty{display:none}
.live-order-success{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d8e6da;border-radius:13px;background:#edf4ec;color:#225848}
.live-order-success svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
@media(prefers-reduced-motion:no-preference){
 .live-order-success path{stroke-dasharray:1;animation:live-order-check-in .42s ease-out both}
 @keyframes live-order-check-in{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
}
#live-commerce-dialog.live-order-confirmation h2{margin:12px 0 6px;font-size:clamp(30px,5vw,42px)}
#live-commerce-dialog.live-order-confirmation p{margin:0 0 14px;line-height:1.45}
.live-order-summary{margin:16px 0;padding:12px 14px;background:#f0eadf;border-radius:12px;font:14px/1.4 var(--sans)}
.live-order-summary div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:3px 0}
.live-order-summary div:last-child{grid-template-columns:1fr;gap:2px;font-size:12px;color:#46584e}
.live-order-summary dd{margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.live-order-actions{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}

/* Sender preview uses the same centre line as the gift artwork. */
#unwrapping .opening-chrome:has(.sender-preview-note:not([hidden])) {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
 align-items: center;
}
#unwrapping .opening-chrome:has(.sender-preview-note:not([hidden])) > :first-child {
 grid-column: 2;
 text-align: center;
}
#unwrapping .opening-chrome:has(.sender-preview-note:not([hidden])) .recipient-trust {
 display: none;
}
#unwrapping .opening-chrome .sender-preview-note:not([hidden]) {
 margin: 0;
 text-align: center;
}
#unwrapping .opening-chrome:has(.sender-preview-note:not([hidden])) .dialog-close-bar {
 grid-column: 3;
 justify-self: end;
}
#checkout-preview.button {
 display: flex;
 justify-content: center;
 width: fit-content;
 min-height: 44px;
 margin: 14px auto 0;
 padding: .65rem 1.15rem;
 background: transparent;
 color: inherit;
 border: 1px solid currentColor;
 box-shadow: none;
 text-decoration: none;
}
#checkout-preview[hidden] { display: none; }
#checkout-payment { margin-top: 1.5rem; min-width: 0; }
#checkout-payment:has(#live-inline-stripe) .payment-card {
 display: block;
 min-width: 0;
 padding: 0;
 border: 0;
 box-shadow: none;
 background: transparent;
}
#live-inline-stripe { width: 100%; min-width: 0; }
#live-inline-stripe iframe { max-width: 100%; }

.storefront-availability-notice { margin: 0 0 1rem; color: var(--ink, #143c32); font-size: .875rem; }
