/* Component: camera-roll. Pill bottom left, sheet as a native dialog, toast. */
.fb-roll__pill { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px; border: var(--fb-border); border-radius: 999px; background: color-mix(in srgb, var(--fb-white) 92%, transparent); color: var(--fb-black); box-shadow: 0 6px 20px rgb(58 44 30 / .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 0.6875rem; font-stretch: var(--fb-stretch-label); font-weight: 500; letter-spacing: var(--fb-tracking-caps); text-transform: uppercase; cursor: pointer; transition: bottom .28s var(--fb-ease-out), transform .3s var(--fb-ease-out); }
.fb-roll__pill .fb-icon { width: 18px; height: 18px; }
.fb-roll__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--fb-black); color: var(--fb-white); font-size: 0.6875rem; letter-spacing: 0; }
.fb-roll.is-empty .fb-roll__n { background: var(--fb-line); color: var(--fb-black); }
.fb-roll__pill.is-pulse { transform: scale(1.06); }
@media (max-width: 599px) { .fb-roll__txt { display: none; } .fb-roll__pill { padding: 0 12px; } }
/* Clear the product page's phone buy bar when it is showing. */
body:has([data-fb="sticky-cta"].is-on) .fb-roll__pill { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
.fb-roll__fly { position: fixed; z-index: 120; object-fit: contain; transform-origin: 0 0; pointer-events: none; transition: transform .62s var(--fb-ease-out), opacity .62s ease; }

.fb-roll__toast { position: fixed; left: 16px; right: 16px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); z-index: 46; max-width: 360px; padding: 12px 16px; background: var(--fb-black); color: var(--fb-white); font-size: var(--fb-text-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s ease, transform .3s var(--fb-ease-out), visibility .3s; }
.fb-roll__toast.is-on { opacity: 1; visibility: visible; transform: none; }

.fb-roll__sheet { width: 100%; max-width: 100%; max-height: 82vh; margin: auto 0 0; padding: 0; border: 0; border-top: var(--fb-border-strong); background: var(--fb-white); color: var(--fb-black); }
.fb-roll__sheet::backdrop { background: rgb(20 20 19 / .32); }
.fb-roll__sheet[open] { animation: fb-roll-up .42s var(--fb-ease-drawer); }
.fb-roll__sheet[aria-busy="true"] { cursor: progress; }
.fb-roll__sheet[aria-busy="true"] button { pointer-events: none; opacity: .6; }
@keyframes fb-roll-up { from { transform: translateY(24px); opacity: 0; } }
.fb-roll__in { display: grid; gap: 16px; padding: 8px var(--fb-gutter-r) calc(20px + env(safe-area-inset-bottom, 0px)) var(--fb-gutter); }
.fb-roll__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 12px; }
.fb-roll__h { font-size: var(--fb-h3); }
.fb-roll__lead { margin-top: 4px; font-style: italic; font-weight: 300; color: var(--fb-muted); }
.fb-roll__empty { font-size: var(--fb-text-sm); color: var(--fb-muted); }
.fb-roll__empty a { color: var(--fb-black); }
.fb-roll__list { display: grid; border-top: var(--fb-border); }
.fb-roll__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: var(--fb-border); }
.fb-roll__img { width: 72px; height: 90px; object-fit: contain; background: var(--fb-surface); }
.fb-roll__info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.fb-roll__name { font-weight: 500; text-decoration: none; }
.fb-roll__name:hover { text-decoration: underline; }
.fb-roll__price { font-size: var(--fb-text-sm); color: var(--fb-muted); }
.fb-roll__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 4px; }
.fb-roll__acts .fb-btn { padding-inline: 16px; }
.fb-roll__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font-size: var(--fb-text-sm); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.fb-roll__note { font-size: var(--fb-text-xs); color: var(--fb-muted); }
@media (min-width: 768px) {
  .fb-roll__sheet { width: 440px; max-height: calc(100vh - 32px); margin: auto auto 16px 16px; border: var(--fb-border-strong); }
}
@media (prefers-reduced-motion: reduce) { .fb-roll__sheet[open] { animation: none; } .fb-roll__pill { transition: none; } }
