.checkout-appearance { --item-image: 48px; --checkout-title: 16px; --checkout-secondary: 12px; }
.checkout-appearance[data-image-size="medium"] { --item-image: 80px; }
.checkout-appearance[data-image-size="large"] { --item-image: 120px; }
.checkout-appearance[data-image-size="extraLarge"] { --item-image: 280px; }
.checkout-appearance .checkout-item-image { width: var(--item-image); height: var(--item-image); max-width: 100%; flex-shrink: 0; }
.checkout-appearance .checkout-item-image img { object-fit: contain; }
.checkout-appearance[data-image-size="extraLarge"] .checkout-item { flex-direction: column; align-items: center; }
.checkout-appearance[data-image-size="extraLarge"] .checkout-item-copy { width: 100%; text-align: center; }
.checkout-appearance[data-title-size="small"] { --checkout-title: 14px; }
.checkout-appearance[data-title-size="large"] { --checkout-title: 20px; }
.checkout-appearance[data-title-size="extraLarge"] { --checkout-title: 24px; }
.checkout-appearance[data-secondary-size="small"] { --checkout-secondary: 11px; }
.checkout-appearance[data-secondary-size="large"] { --checkout-secondary: 14px; }
.checkout-appearance[data-secondary-size="extraLarge"] { --checkout-secondary: 16px; }
.checkout-appearance :is(h1,h2,h3,h4,.checkout-item-title) { font-size: var(--checkout-title); line-height: 1.4; overflow-wrap: anywhere; white-space: normal; }
.checkout-appearance :is(.text-muted-foreground,label) { font-size: var(--checkout-secondary); line-height: 1.5; }
.checkout-appearance-preview { --item-image: 48px; }
.checkout-appearance-preview .checkout-item-title { font-size: calc(var(--checkout-title) * .8); }
.checkout-appearance-preview :is(.text-muted-foreground,label) { font-size: calc(var(--checkout-secondary) * .8); }
