/* Video and following are part of the fair, without decorative social metrics. */
.fair-video-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.fair-video-heading h1{margin:4px 0 10px}.fair-video-heading p{margin-bottom:0}.fair-video-layout{display:grid;grid-template-columns:260px minmax(0,620px);justify-content:center;gap:40px;align-items:start}.fair-video-sidebar{position:sticky;top:24px;display:grid;gap:18px;font-size:15px;line-height:1.6}.fair-video-sidebar form{display:grid;gap:18px}.fair-video-sidebar p{margin:0}.fair-video-sidebar .ops-check{display:flex;gap:10px;align-items:flex-start;font-weight:400}.fair-video-sidebar input[type=checkbox]{margin-top:5px;flex-shrink:0}.fair-video-feed{display:grid;gap:28px}.fair-clip{border:1px solid #dce3d9;border-radius:14px;overflow:hidden;background:#fff;min-width:0}.fair-clip-media{position:relative;background:#102a21;overflow:hidden}.fair-clip video{display:block;width:100%;aspect-ratio:9/14;max-height:600px;object-fit:contain;background:#102a21}.fair-clip-info{padding:18px}.fair-clip-info h2{font-size:18px;line-height:1.4;margin:6px 0 8px;font-weight:500}.fair-clip-seller{font-size:14px;text-decoration:underline;text-underline-offset:3px}.fair-clip-price{font-size:19px;font-weight:500;margin:8px 0}.fair-clip-caption{font-size:12px;color:#667267;line-height:1.5;margin:10px 0}.fair-clip-example{position:absolute;top:12px;left:12px;background:#fff4d5;color:#5d4818;border-radius:5px;padding:5px 9px;font-size:12px;pointer-events:none}.fair-follow{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}.fair-follow small{font-size:13px;font-weight:400;line-height:1.5;color:#627367}.fair-follow [data-follow-status]{font-size:13px;line-height:1.5;flex-basis:100%;font-weight:400}.fair-follow [data-follow-status]:empty{display:none}.seller-product-card>.fair-follow{margin:14px 0}.seller-profile-actions>.fair-follow{justify-content:flex-start;flex-direction:column;align-items:stretch;gap:6px}.seller-profile-actions>.fair-follow small{text-align:center}.fair-video-rail-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:20px 0 14px}.fair-video-rail-heading h2{font-size:22px;margin:0}.fair-video-rail-heading a{font-size:14px;text-decoration:underline;white-space:nowrap}.fair-video-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,280px);gap:16px;overflow-x:auto;padding-bottom:12px;scroll-snap-type:x proximity}.fair-video-rail>.fair-clip{scroll-snap-align:start}.fair-video-rail video{height:300px;max-height:none;aspect-ratio:9/13}.fair-video-rail .fair-clip-info h2{font-size:16px}.fair-video-rail .fair-clip-info{padding:14px}.fair-video-rail .ops-actions{gap:10px}.fair-video-rail .fair-follow small{display:none}.fair-seller-videos{margin:24px 0}.fair-video-manage-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:start}.fair-video-upload{display:grid;gap:18px}.fair-video-upload h2{margin:0}.fair-video-upload p{margin:0}.fair-video-upload>video{width:100%;max-height:420px;background:#102a21;border-radius:8px}.fair-video-upload .ops-check{font-weight:400;font-size:14px;line-height:1.6}.fair-video-manager-list,.fair-video-review-list{display:grid;gap:22px}.fair-video-manager-card{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;border-bottom:1px solid #dce3d9;padding:16px 0}.fair-video-manager-card video{width:130px;height:180px;object-fit:contain;background:#102a21;border-radius:8px}.fair-video-manager-card h3{font-size:17px;margin:0 0 10px}.fair-video-review{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px}.fair-video-review video{width:100%;max-height:450px;background:#102a21}.fair-video-review form{display:grid;gap:16px}.fair-video-review h2,.fair-video-review p{margin:0}.fair-following-card>a{display:flex;align-items:center;gap:18px}.fair-following-card h2{font-size:20px}.fair-following-card>.text-link{margin:18px 0}.fair-video-error{position:absolute;inset:auto 10px 10px;background:#fff;padding:12px;font-size:14px;color:#174d39}.fair-product-videos{margin-top:22px}
body[data-ui=marketplace] main [hidden]{display:none!important}
@media(max-width:900px){.fair-video-layout{grid-template-columns:200px minmax(0,1fr);gap:24px}.fair-video-manage-grid{grid-template-columns:1fr}.fair-video-review{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:600px){.fair-video-heading{display:grid;gap:18px}.fair-video-layout{display:block}.fair-video-sidebar{position:static;margin-bottom:24px;gap:14px}.fair-video-sidebar form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px}.fair-video-sidebar label:first-child{grid-column:1/-1}.fair-video-sidebar .ops-check{align-self:center;margin:0}.fair-video-sidebar>p{display:none}.fair-video-sidebar>a{font-size:14px}.fair-video-sidebar>a+a{display:none}.fair-video-feed{gap:20px}.fair-clip-reel{scroll-snap-align:start}.fair-clip-reel video{max-height:calc(100svh - 210px);aspect-ratio:9/13;min-height:300px}.fair-clip-info{padding:16px}.fair-video-review{grid-template-columns:1fr;gap:18px}.fair-video-review video{max-height:360px}.fair-video-manager-card{grid-template-columns:100px minmax(0,1fr);gap:14px}.fair-video-manager-card video{width:100px;height:150px}.fair-video-rail{grid-auto-columns:minmax(210px,75%)}.fair-follow .button{min-height:44px}.fair-video-rail-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.fair-video-feed{scroll-behavior:auto}}

/* Immersive fair: the scroll viewport is the player, never the document. */
html:has([data-video-feed]),body[data-ui="marketplace"]:has([data-video-feed]){overflow:hidden;height:100%;overscroll-behavior:none;background:#0d1712}
body[data-ui="marketplace"]:has([data-video-feed])>.site-header,body[data-ui="marketplace"]:has([data-video-feed])>.store-owner-switch,body[data-ui="marketplace"]:has([data-video-feed])>.store-launch,body[data-ui="marketplace"]:has([data-video-feed])>.site-footer{display:none}
body[data-ui="marketplace"] .af-reels-page{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;max-width:none;margin:0;padding:0;overflow:hidden;isolation:isolate;background:#0d1712;color:#fff;font-size:14px;line-height:1.4;z-index:100}
.af-reels-page *{box-sizing:border-box}
body[data-ui="marketplace"] .af-reels-page button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
body[data-ui="marketplace"] .af-reels-page :is(button,a):focus-visible{outline:2px solid #d4ed9d;outline-offset:3px}
.af-reels-page svg{display:block;width:24px;height:24px;flex-shrink:0}
.af-reels-topbar{position:absolute;z-index:30;top:24px;left:28px;right:28px;display:flex;align-items:center;gap:14px;pointer-events:none}
.af-reels-topbar>*{pointer-events:auto}
.af-reels-back,.af-reels-filter-button{display:grid;place-items:center;width:44px;height:44px;padding:10px;background:#ffffff12;border:1px solid #ffffff25;border-radius:50%;color:#fff;text-decoration:none;flex-shrink:0}
.af-reels-title{display:flex;align-items:center;gap:10px}
.af-reels-title>img{background:#eff3e9;padding:3px;border-radius:6px;width:30px;height:30px}
body[data-ui="marketplace"] .af-reels-title h1{font-size:18px;line-height:1.3;font-weight:500;margin:0;color:#fff;letter-spacing:0}
.af-reels-filter-button{margin-left:auto}
.af-reels-tabs{position:absolute;z-index:25;top:38px;left:50%;transform:translateX(-50%);display:flex;gap:20px;padding:0 16px;white-space:nowrap;text-shadow:0 1px 8px #000}
body[data-ui="marketplace"] .af-reels-tabs button{position:relative;min-height:44px;border:0;border-radius:0;background:none;color:#ddd;font-size:15px;padding:4px 0;font-weight:500}
.af-reels-tabs button[aria-pressed="true"]{color:#fff}
.af-reels-tabs button[aria-pressed="true"]:after{content:"";position:absolute;bottom:3px;left:25%;right:25%;height:3px;border-radius:4px;background:#c8e390}
.af-reels-demo{position:absolute;top:92px;left:50%;transform:translateX(-50%);z-index:24;color:#fff0c7;background:#1a201ac9;border:1px solid #ffffff20;border-radius:4px;padding:4px 8px;font-size:10px;white-space:nowrap;pointer-events:none}
.af-reels-stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:calc(100vh - 40px);height:calc(var(--af-reels-height,100dvh) - 40px);width:min(460px,calc((var(--af-reels-height,100dvh) - 40px)*.5625));max-width:100%}
.af-reels-viewport{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none;touch-action:pan-y;border-radius:14px;background:#14251c;outline:none;-webkit-overflow-scrolling:touch}
.af-reels-viewport::-webkit-scrollbar{display:none}
.af-reels-viewport>[data-video-items]{height:100%;width:100%}
.af-reel{height:100%;min-height:100%;width:100%;position:relative;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#14251c;color:#fff;isolation:isolate}
.af-reel>[data-reel-video]{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;object-fit:contain;background:#14251c}
body[data-ui="marketplace"] .af-reel-tap{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;border-radius:0;color:#fff;display:grid;place-items:center;z-index:2;padding:0}
.af-reel-tap>span{display:grid;place-items:center;width:68px;height:68px;border:1px solid #ffffff45;border-radius:50%;background:#0005;opacity:0;transition:opacity .12s ease}
.af-reel-tap>span svg{width:32px;height:32px;margin-left:4px;fill:#ffffff33}
.af-reel[data-paused="true"] .af-reel-tap>span{opacity:1}
.af-reel-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0009 0%,transparent 25%,transparent 55%,#0009 78%,#000e 100%);pointer-events:none;z-index:3}
.af-reel-actions{position:absolute;right:12px;bottom:218px;z-index:5;display:flex;flex-direction:column;gap:18px}
body[data-ui="marketplace"] .af-reel-actions :is(button,a){width:48px;min-height:54px;padding:0;border:0;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;color:#fff;text-decoration:none;text-shadow:0 1px 8px #000}
.af-reel-actions svg{width:28px;height:28px;filter:drop-shadow(0 1px 3px #0008)}
.af-reel-actions small{font-size:10px;font-weight:400;line-height:1.2}
.af-reel-content{position:absolute;z-index:6;left:16px;right:16px;bottom:52px;display:grid;gap:12px;pointer-events:none}
.af-reel-content>*{pointer-events:auto}
.af-reel-seller-row{display:flex;gap:12px;align-items:center;min-width:0}
.af-reel-seller{display:flex;align-items:center;gap:10px;min-width:0;max-width:calc(100% - 96px);font-weight:500;color:#fff;text-decoration:none;text-shadow:0 1px 4px #000}
.af-reel-seller>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.af-reel-seller .seller-avatar{width:36px;height:36px;min-width:36px;max-width:36px;flex:0 0 36px;border:1px solid #ffffff65;box-shadow:none;font-size:13px;color:#174d39;text-shadow:none}
.af-reel-seller .seller-avatar img{width:100%;height:100%}
.af-reel-follow{position:relative;display:flex;flex:none;margin:0;gap:0}
body[data-ui="marketplace"] .af-reel-follow [data-follow-button]{min-height:36px;min-width:74px;background:#ffffff12;color:#fff;border:1px solid #ffffff80;border-radius:8px;padding:7px 12px;font-size:13px;line-height:1.4;font-weight:500}
.af-reel-follow>[data-follow-count]{display:none}
.af-reel-follow>[data-follow-status]{position:absolute;bottom:44px;right:0;width:240px;border-radius:8px;background:#173b2f;color:#fff;padding:10px 12px;font-size:12px;font-weight:400;box-shadow:0 4px 18px #0004;line-height:1.5}
.af-reel-follow>[data-follow-status]:empty{display:none}
.af-reel-follow [data-follow-status] a{color:#e1efb6;text-decoration:underline}
body[data-ui="marketplace"] .af-reel-disclosure{margin:0;color:#e8dfc8;font-size:11px;line-height:1.4;max-width:calc(100% - 38px)}
.af-reel-product{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;background:#ffffffed;color:#163e2d;border:1px solid #ffffff80;border-radius:12px;text-decoration:none;box-shadow:0 4px 18px #0002}
.af-reel-product>img{width:44px;height:52px;object-fit:cover;border-radius:6px;background:#e9efe3;flex:0 0 44px}
.af-reel-product-text{flex:1;min-width:0;display:grid;gap:5px}
body[data-ui="marketplace"] .af-reel-product-text strong{font-size:13px;line-height:1.35;font-weight:500;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.af-reel-product-text>span{font-size:14px;font-weight:500;line-height:1.3;white-space:nowrap}
.af-reel-product-cta{min-height:44px;max-width:90px;flex:0 0 auto;display:grid;place-items:center;padding:9px 12px;border-radius:8px;background:#174d39;color:#fff;font-size:12px;font-weight:500;white-space:nowrap}
.af-reel-progress{position:absolute;z-index:8;bottom:5px;left:14px;right:14px;display:flex;align-items:center;height:44px}
body[data-ui="marketplace"] #conteudo .af-reel-progress [data-reel-progress]{-webkit-appearance:none;appearance:none;width:100%;height:44px;min-height:44px;min-width:0;margin:0;padding:0;border:0;background:transparent;accent-color:#c8e390;cursor:pointer;touch-action:pan-x}
.af-reel-progress input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:#ffffff65}
.af-reel-progress input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:10px;height:10px;margin-top:-3.5px;border-radius:50%;background:#d3eaa5}
.af-reel-progress input::-moz-range-track{height:3px;border-radius:3px;background:#ffffff65}.af-reel-progress input::-moz-range-thumb{border:0;width:10px;height:10px;border-radius:50%;background:#d3eaa5}
.af-reels-navigation{position:absolute;left:calc(100% + 24px);top:50%;transform:translateY(-50%);display:grid;gap:16px;justify-items:center}
body[data-ui="marketplace"] .af-reels-navigation button{display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff25;border-radius:50%;background:#ffffff14;color:#fff;padding:10px}
.af-reels-navigation button:disabled{opacity:.25;cursor:default}
.af-reels-navigation>span{font-size:11px;color:#a1b1a2;white-space:nowrap}
.af-reels-empty{position:absolute;z-index:10;left:50%;top:50%;transform:translate(-50%,-50%);width:min(360px,calc(100% - 48px));display:grid;justify-items:center;text-align:center;gap:20px;color:#e1e9dd;background:#14251c;padding:28px 18px;border-radius:12px}
.af-reels-empty a{color:#d4e4b9}.af-reels-empty .button{color:#fff}.af-reels-empty .button.outline{border-color:#a7bb93;color:#fff;background:none}
.af-reels-desktop-links{position:absolute;left:36px;bottom:36px;display:grid;gap:16px;color:#b8c6b4;font-size:13px}
.af-reels-desktop-links a{text-decoration:none}.af-reels-desktop-links a:hover{color:#fff}
.af-reels-toast{position:absolute;z-index:40;bottom:28px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px);background:#fff;color:#174d39;padding:12px 18px;border-radius:8px;box-shadow:0 6px 30px #0005;font-size:13px;line-height:1.5}
.af-reel-feedback{background:#173b2f;padding:10px 12px;color:#fff;font-size:12px;border-radius:8px}
.af-reels-floating-retry{position:absolute;bottom:180px;left:50%;transform:translateX(-50%);z-index:40}
.af-reels-filter-sheet{border:0;border-radius:16px;width:min(420px,calc(100vw - 32px));margin:auto;padding:24px;color:#203e2e;background:#fff;box-shadow:0 16px 80px #0007}
.af-reels-filter-sheet::backdrop{background:#000a}
.af-reels-sheet-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:24px}
body[data-ui="marketplace"] .af-reels-sheet-heading h2{font-size:20px;margin:0;line-height:1.4}
body[data-ui="marketplace"] .af-reels-sheet-heading button{display:grid;place-items:center;width:44px;height:44px;border:0;background:#edf2e8;border-radius:50%;color:#174d39;padding:10px}
.af-reels-filter-sheet form{display:grid;gap:22px}.af-reels-filter-sheet .ops-check{font-weight:400;display:flex;gap:10px;font-size:14px;align-items:flex-start}
.af-reels-filter-sheet .ops-check input{margin-top:3px}.af-reels-sheet-publish{display:block;text-align:center;margin-top:26px}
.af-reel-teaser-open{position:relative;display:block;aspect-ratio:9/12;overflow:hidden;background:#14251c;color:#fff;text-decoration:none}
.af-reel-teaser-open>img{width:100%;height:100%;object-fit:cover;display:block}.af-reel-teaser-open:after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#000b)}
.af-reel-teaser-play{position:absolute;inset:0;display:grid;place-content:center;z-index:1}.af-reel-teaser-play svg{width:46px;height:46px;background:#0005;padding:12px;border:1px solid #fff8;border-radius:50%;fill:#ffffff35}
.af-reel-teaser-caption{position:absolute;bottom:16px;left:14px;right:14px;z-index:2;font-size:13px;font-weight:500}.af-reel-teaser-placeholder{display:grid;place-items:center;height:100%;font-size:24px;opacity:.5}
@media(max-width:760px){
 .af-reels-topbar{top:env(safe-area-inset-top,0px);left:10px;right:10px;height:54px;gap:10px}
 body[data-ui="marketplace"] .af-reels-title h1{font-size:15px}.af-reels-title>img{width:25px;height:25px}.af-reels-title{gap:7px}
 .af-reels-back,.af-reels-filter-button{background:#0002;border-color:#ffffff25;width:40px;height:40px}
 .af-reels-stage{inset:0;transform:none;width:100%;height:100%;max-width:none}
 .af-reels-viewport{border-radius:0}
 .af-reels-tabs{top:calc(52px + env(safe-area-inset-top,0px));gap:24px}
 .af-reels-demo{top:calc(102px + env(safe-area-inset-top,0px))}
 .af-reels-navigation{display:none}.af-reels-desktop-links{display:none}
 .af-reel-actions{right:10px;bottom:calc(205px + var(--af-reels-safe-bottom,env(safe-area-inset-bottom,0px)));gap:18px}
 .af-reel-content{left:12px;right:12px;bottom:calc(52px + var(--af-reels-safe-bottom,env(safe-area-inset-bottom,0px)));gap:12px}
 .af-reel-progress{bottom:calc(4px + var(--af-reels-safe-bottom,env(safe-area-inset-bottom,0px)));left:12px;right:12px}
 .af-reels-toast{bottom:calc(185px + var(--af-reels-safe-bottom,env(safe-area-inset-bottom,0px)));max-width:calc(100% - 32px);width:max-content}
 .af-reels-filter-sheet{margin:auto 0 0;width:100%;max-width:100%;padding:24px 22px calc(24px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;max-height:90dvh;overflow-y:auto}
}
@media(max-height:540px) and (min-width:761px){.af-reels-tabs{top:20px}.af-reels-demo{top:72px}.af-reel-actions{bottom:150px;gap:10px}.af-reel-content{gap:6px;bottom:28px}.af-reel-product{padding:8px;gap:8px}.af-reel-product>img{display:none}.af-reel-product-text strong{font-size:11px}.af-reel-product-text>span{font-size:12px}.af-reel-product-cta{font-size:11px;padding:6px;min-height:38px}.af-reel-seller{font-size:12px}}
@media(prefers-reduced-motion:reduce){.af-reel-tap>span{transition:none}}
body[data-ui="marketplace"] .af-product-gallery{display:block!important;aspect-ratio:auto!important;max-height:none!important;height:auto!important;overflow:hidden;border:1px solid #dce3d9;background:#fff;border-radius:8px}
.af-gallery-stage{position:relative;width:100%;aspect-ratio:1.15;display:grid;place-items:center;overflow:hidden;background:#fff}
body[data-ui="marketplace"] .af-product-gallery .af-gallery-stage img,body[data-ui="marketplace"] .store-product-grid .af-product-gallery .af-gallery-stage img{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border:0;border-radius:0;display:block}
.af-gallery-photo{display:block;width:100%;height:100%;min-height:0;overflow:hidden}
.af-gallery-stage>video{display:block;width:100%;height:100%;max-height:100%;background:#102a21;object-fit:contain}
.af-gallery-bottom{padding:10px 14px;display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#637560;border-top:1px solid #edf0e8}
.af-gallery-thumbs{display:flex;gap:10px;padding:2px 14px 14px;overflow-x:auto;align-items:center}
body[data-ui="marketplace"] .af-gallery-thumbs button{position:relative;width:64px;height:64px;flex:0 0 64px;overflow:hidden;border:1px solid #d5dfcf;border-radius:6px;padding:3px;background:#f7f9f3;color:#174d39;cursor:pointer}
body[data-ui="marketplace"] .af-gallery-thumbs button[aria-pressed="true"]{border:2px solid #174d39;padding:2px}
body[data-ui="marketplace"] .af-product-gallery .af-gallery-thumbs img,body[data-ui="marketplace"] .store-product-grid .af-product-gallery .af-gallery-thumbs img{display:block!important;width:100%!important;height:100%!important;max-height:100%;aspect-ratio:1;object-fit:contain;border:0;border-radius:3px}
.af-gallery-thumbs button>span{position:absolute;inset:0;display:grid;place-items:center;background:#0003;color:#fff}.af-gallery-thumbs button>span svg{width:27px;height:27px;filter:drop-shadow(0 1px 3px #000);fill:#ffffff55}.af-gallery-thumbs button>small{position:absolute;bottom:1px;left:0;right:0;background:#174d39de;color:#fff;font-size:10px;line-height:1.5}
.af-gallery-error{position:absolute;inset:auto 16px 40px;background:#fff4d5;padding:12px;border-radius:6px;color:#57491d;font-size:13px}
body[data-ui="marketplace"] .af-reel-caption{margin:0;font-size:13px;line-height:1.4;color:#fff;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:calc(100% - 25px);text-shadow:0 1px 5px #000}
@media(max-width:600px){.af-gallery-bottom{font-size:11px}.af-gallery-thumbs{gap:8px}.af-gallery-stage{aspect-ratio:1.15}}
.af-gallery-stage>.af-gallery-photo,.af-gallery-stage>video{position:absolute;inset:0;width:100%;height:100%}

/* The empty Giro welcomes shoppers; selling remains an optional, explicit path. */
.af-reels-empty{gap:16px;padding:24px 20px;border:1px solid #ffffff12}
.af-reels-empty>[data-video-status]{font-size:14px;line-height:1.6;margin:0;max-width:34ch}
.af-reels-empty-shopping{display:grid;justify-items:center;gap:8px;width:100%}
.af-reels-empty-shopping>.button{width:100%;font-size:14px;min-height:44px}
.af-reels-empty-shopping>.text-link{font-size:12px;min-height:44px;display:flex;align-items:center}
.af-reels-empty-seller{padding-top:16px;border-top:1px solid #ffffff1c;width:100%;font-size:12px;line-height:1.5;color:#b2c1b4}
.af-reels-empty-seller p{font-size:12px;line-height:1.5;margin:0 0 4px}
.af-reels-empty-seller .text-link{font-size:12px;display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}

/* Product media: one consistent stage, thumbnails, swipe and an accessible photo viewer. */
.af-gallery-stage{touch-action:pan-y pinch-zoom}
body[data-ui="marketplace"] :is(.af-gallery-prev,.af-gallery-next){position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:44px;padding:0;border:1px solid #dbe3d8;border-radius:5px;background:#ffffffed;color:#31513b;font:400 25px/1 sans-serif;z-index:2;cursor:pointer}
.af-gallery-prev{left:10px}.af-gallery-next{right:10px}.af-gallery-stage button:disabled{opacity:.3;cursor:default}
body[data-ui="marketplace"] .af-gallery-zoom{width:min(1100px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:8px;background:#fff;color:#254634;overflow:auto}
.af-gallery-zoom::backdrop{background:#10251deb}
.af-gallery-zoom-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;font-size:13px;border-bottom:1px solid #e5eae1}
.af-gallery-zoom-heading button{display:grid;place-items:center;width:44px;height:44px;background:transparent;border:0;color:#31513b;cursor:pointer}
.af-gallery-zoom-heading svg{width:22px;height:22px}
.af-gallery-zoom-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;min-height:200px;gap:8px;padding:12px}
body[data-ui="marketplace"] .af-product-gallery .af-gallery-zoom-stage img{width:100%;height:min(65vh,700px);max-height:none;object-fit:contain}
.af-gallery-zoom-stage button{height:44px;background:#f0f4ed;border:0;border-radius:5px;color:#31513b;font-size:28px;cursor:pointer}.af-gallery-zoom-stage button:disabled{opacity:.3}
.af-gallery-zoom>p{font-size:12px;text-align:center;color:#71806d;margin:0;padding:0 12px 12px}
@media(min-width:960px){
 body[data-ui="marketplace"] .af-product-gallery{display:grid!important;grid-template-columns:76px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;align-items:start}
 .af-gallery-stage{grid-column:2;grid-row:1;aspect-ratio:1.15}
 .af-gallery-bottom{grid-column:2;grid-row:2}
 .af-gallery-thumbs{grid-column:1;grid-row:1/3;flex-direction:column;align-items:center;padding:10px 6px;gap:8px;max-height:440px;overflow-y:auto;overflow-x:hidden}
}
@media(max-width:760px){.af-gallery-zoom-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:3px;padding:6px}.af-gallery-zoom-stage button{width:32px}.af-gallery-bottom{gap:8px;padding:8px 10px}.af-gallery-thumbs{padding:2px 10px 10px}}

/* A bounded side rail leaves the space below the photo for title and price. */
@media(max-width:959px){
 body[data-ui="marketplace"] .af-product-gallery{position:relative;display:grid!important;grid-template-columns:56px minmax(0,1fr);align-items:start;isolation:isolate}
 .af-product-gallery .af-gallery-stage{grid-column:2;grid-row:1;aspect-ratio:1.12}
 .af-product-gallery .af-gallery-thumbs{position:absolute;left:0;top:0;bottom:0;width:56px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 body[data-ui="marketplace"] .af-product-gallery .af-gallery-thumbs button{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;padding:2px;border-radius:4px}
 body[data-ui="marketplace"] .af-product-gallery .af-gallery-thumbs button[aria-pressed="true"]{padding:1px}
 .af-product-gallery .af-gallery-thumbs button>span svg{width:21px;height:21px}
 .af-product-gallery .af-gallery-thumbs button>small{font-size:9px;line-height:1.25}
 .af-product-gallery .af-gallery-bottom{position:absolute;bottom:7px;right:7px;width:auto;margin:0;padding:3px 7px;border:0;border-radius:4px;background:#ffffffed;pointer-events:none;font-size:10px;line-height:1.4;z-index:1}
 .af-product-gallery [data-gallery-hint]{display:none}
 .af-product-gallery[data-media-type="video"] .af-gallery-bottom{display:none}
 body[data-ui="marketplace"] .af-product-gallery :is(.af-gallery-prev,.af-gallery-next){width:30px;min-width:30px;height:44px;top:55%;font-size:22px}
 .af-product-gallery .af-gallery-prev{left:4px}.af-product-gallery .af-gallery-next{right:4px}
}
