.farnelli-product-sheet {position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:600px;max-height:86vh;max-height:86dvh;padding:0;border:0;border-radius:24px 24px 0 0;background:#F6F1E9;color:#543320;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;box-shadow:0 -12px 48px #0003;font-family:var(--font-body-family);}
.farnelli-product-sheet[open] {animation:farnelliSheetIn .22s ease-out;}
.farnelli-product-sheet::backdrop {background:rgba(30,20,15,.45);}
.farnelli-preview-close {position:sticky;top:12px;margin:12px 12px -56px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #543320;border-radius:50%;background:#F6F1E9;color:#543320;font-size:28px;line-height:1;z-index:2;cursor:pointer;}
.farnelli-preview-photos {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;background:#fff;scrollbar-width:thin;scrollbar-color:#543320 #F6F1E9;}
.farnelli-preview-photo {flex:0 0 100%;scroll-snap-align:start;display:block;}
.farnelli-preview-photo img {display:block;width:100%;height: min(46vh,420px);object-fit:contain;}
.farnelli-preview-details {padding:18px 20px max(22px,env(safe-area-inset-bottom));text-align:center;}
.farnelli-preview-title {display:block;color:#543320;font-family:var(--font-heading-family);font-size:22px;line-height:1.25;text-decoration:none;margin-bottom:10px;}
.farnelli-preview-details p {font-size:14px;line-height:1.6;margin:12px 0;}
.farnelli-preview-option {display:flex;flex-direction:column;gap:4px;border-top:1px solid #D9CBB8;padding:9px 0;font-size:13px;}
.farnelli-preview-link {display:block;background:#543320;color:#F6F1E9;border-radius:16px 16px 0 0;padding:13px;text-decoration:none;margin-top:12px;font-weight:600;}
.farnelli-product-sheet :focus-visible {outline:2px solid #543320;outline-offset:2px;}
@keyframes farnelliSheetIn {from {transform:translateY(100%);}to {transform:translateY(0);}}
@media(prefers-reduced-motion:reduce){.farnelli-product-sheet[open]{animation:none;}}
