:root { --selection-surface: #fff; --selection-ink: #161823; --selection-muted: #8a8b91; --selection-primary: #fe2c55; --selection-soft: #f1f1f2; --selection-line: #efefef; --selection-sale: #ff812c; --selection-freight: #00b8a9; --selection-backdrop: #0006; }
#product-selection { position: fixed; inset: auto 0 0; margin: 0 auto; width: min(440px,100%); max-width: 100%; max-height: 90dvh; padding: 0; border: 0; border-radius: 16px 16px 0 0; background: var(--selection-surface); color: var(--selection-ink); font-family: inherit; overflow: hidden; }
#product-selection::backdrop { background: var(--selection-backdrop); }
#product-selection * { box-sizing: border-box; letter-spacing: 0; }
.selection-scroll { padding: 20px 12px 0; max-height: calc(90dvh - 72px); overflow-y: auto; }
.selection-summary { display: flex; align-items: flex-start; gap: 12px; padding-right: 20px; }
.selection-summary img { width: 104px; height: 104px; object-fit: cover; border-radius: 6px; }
.selection-summary-info { flex: 1; min-width: 0; font-size: 12px; }
.selection-price { color: var(--selection-primary); display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.selection-price strong { font-size: 27px; line-height: 32px; }
.selection-badge { background: var(--selection-primary); color: var(--selection-surface); border-radius: 12px; padding: 1px 5px; font-weight: 700; }
.selection-original { color: var(--selection-muted); display: block; margin: 3px 0 7px; }
.selection-freight { color: var(--selection-freight); font-weight: 700; margin: 0 0 5px; }
.selection-discount { color: var(--selection-primary); font-weight: 700; margin: 0; line-height: 17px; }
.selection-close { position: absolute; top: 12px; right: 8px; width: 30px; height: 30px; border: 0; background: none; color: var(--selection-ink); display: grid; place-items: center; cursor: pointer; }
.selection-sale { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; border-radius: 8px; padding: 10px 12px; background: var(--selection-sale); color: var(--selection-surface); }
.selection-sale strong { font-size: 14px; }
.selection-sale span { font-size: 11px; white-space: nowrap; }
.selection-heading { font-size: 15px; font-weight: 600; margin: 14px 0 10px; }
.selection-variant { display: flex; flex-direction: column; padding: 0; width: 144px; border: 2px solid var(--selection-primary); border-radius: 8px; overflow: hidden; background: var(--selection-surface); color: var(--selection-ink); cursor: pointer; }
.selection-variant img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.selection-variant span { font-size: 13px; font-weight: 600; padding: 6px; }
.selection-quantity { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 10px; }
.selection-quantity label { font-size: 15px; font-weight: 600; }
.selection-stepper { display: flex; align-items: center; border-radius: 24px; background: var(--selection-soft); height: 36px; }
.selection-stepper button { width: 34px; height: 36px; border: 0; background: none; font-size: 18px; color: var(--selection-ink); cursor: pointer; }
.selection-stepper button:disabled { color: var(--selection-muted); cursor: default; }
.selection-stepper input { width: 44px; height: 36px; border: 0; padding: 0; text-align: center; background: none; color: var(--selection-ink); font: inherit; appearance: textfield; }
.selection-stepper input::-webkit-inner-spin-button { appearance: none; }
.selection-actions { display: flex; gap: 8px; border-top: 1px solid var(--selection-line); padding: 12px 8px max(10px,env(safe-area-inset-bottom)); background: var(--selection-surface); }
.selection-actions button { flex: 1; min-width: 0; height: 48px; border: 0; border-radius: 28px; font-size: 15px; font-weight: 700; line-height: 15px; cursor: pointer; }
.selection-cart { background: var(--selection-soft); color: var(--selection-ink); }
.selection-buy { background: var(--selection-primary); color: var(--selection-surface); }
.selection-buy small { display: block; font-size: 11px; }
#product-selection button:focus-visible, #product-selection input:focus-visible { outline: 2px solid var(--selection-primary); outline-offset: -3px; }
@media (max-width: 350px) { .selection-summary { gap: 8px; } .selection-summary img { width: 84px; height: 84px; } .selection-sale { padding: 10px 6px; } .selection-sale strong { font-size: 12px; } }
:root { --protection-heading: #925511; }
#customer-protection { position: fixed; inset: auto 0 0; margin: 0 auto; width: min(440px,100%); max-width: 100%; max-height: 85dvh; padding: 0; border: 0; border-radius: 16px 16px 0 0; background: var(--selection-surface); color: var(--selection-ink); font-family: inherit; overflow: hidden; }
#customer-protection::backdrop { background: var(--selection-backdrop); }
#customer-protection * { box-sizing: border-box; letter-spacing: 0; }
.protection-header { position: relative; display: flex; align-items: center; justify-content: center; height: 48px; border-bottom: 1px solid var(--selection-line); }
.protection-header h2 { font-size: 15px; font-weight: 600; margin: 0; }
.protection-header button { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: none; border: 0; color: var(--selection-ink); cursor: pointer; }
.protection-body { padding: 0 4px max(8px,env(safe-area-inset-bottom)); max-height: calc(85dvh - 48px); overflow-y: auto; }
.protection-body section { padding: 9px 0 10px; }
.protection-body h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--protection-heading); font-size: 15px; line-height: 22px; font-weight: 700; }
.protection-body h3 svg { flex: 0 0 20px; width: 20px; height: 20px; }
.protection-body p { margin: 0; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.protection-header button:focus-visible { outline: 2px solid var(--selection-primary); outline-offset: -2px; }