/* Mobile catalogue actions share the compact visual language of desktop cards. */
@media(max-width:760px){
 /* Phone cards fill their viewport without letterboxing or stretching the image. */
 body.theme-flow.store-page .flow-main>[data-flow-feed] .product-video{object-fit:cover;object-position:center}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .product-video{object-fit:cover}
 body.theme-flow.store-page .flow-main>[data-flow-feed] .video-tools{top:auto;right:14px;bottom:18px;left:auto;transform:none;display:flex;flex-direction:column;gap:8px}
 body.theme-flow.store-page .flow-main>[data-flow-feed] .video-tools [data-share],
 body.theme-flow.store-page .flow-main>[data-flow-feed] .tool-caption{display:none!important}
 body.theme-flow.store-page .flow-main>[data-flow-feed] .video-tools :is([data-sound],[data-view-product]){display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid #ffffff38;border-radius:50%;background:#17171b80;color:white}
 body.theme-flow.store-page .flow-main>[data-flow-feed] .video-tools [data-sound][aria-pressed=true]{color:var(--accent)}
 body.theme-flow.store-page .flow-main>[data-flow-feed] .video-tools .reel-icon{width:22px;height:22px}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed]>.product-card .card-info{left:18px;right:76px;bottom:18px;display:grid!important;grid-template-columns:fit-content(45%) minmax(0,1fr);grid-template-rows:auto auto;align-items:center!important;gap:12px!important;max-height:none}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .card-copy,
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .card-actions{display:contents}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .product-kicker,
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .flow-card-description{display:none}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed]>.product-card h3{grid-column:1/-1;grid-row:1;width:100%;max-width:100%;margin:0;font-size:24px!important;line-height:1.2;letter-spacing:-.4px;-webkit-line-clamp:3;overflow-wrap:anywhere}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .card-info .price-line{grid-column:1;grid-row:2;align-self:center;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px;padding:0;margin:0;font-size:22px!important;line-height:1.2}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .price-line strong{font-size:inherit;font-weight:650;letter-spacing:-.02em;white-space:nowrap}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .buy-button{grid-column:2;grid-row:2;align-self:center;justify-self:start;justify-content:center;width:min(100%,132px);min-width:0;min-height:44px;margin:0;padding:10px 12px!important;gap:8px;font-size:13px;line-height:1.3;white-space:nowrap;border-radius:10px}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .buy-button .reel-icon{width:17px;height:17px;flex-shrink:0}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .quick-card-button{grid-column:1/-1;grid-row:3;justify-self:start}
 /* Compact corner controls leave the video and purchase information unobstructed. */
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed]>.product-card{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed]>.product-card .video-stage{display:contents}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .product-video,
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-placeholder{position:absolute;inset:0;width:100%;height:100%}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-tools{position:absolute;top:10px;right:8px;bottom:auto;left:auto;transform:none;grid-column:auto;grid-row:auto;flex-direction:column;align-items:center;gap:6px;width:max-content;margin:0;z-index:4}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-tools :is([data-sound],[data-view-product]){width:32px;height:32px;min-width:32px;min-height:32px;padding:7px}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-tools [data-view-product]{display:inline-flex!important}
 /* Keep the eye aligned across cards. AI uses the same circle below it, even
    when a single-video view previously assigned larger inline dimensions. */
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-tools > .video-ai-badge{order:1;width:32px!important;height:32px!important;min-width:32px;min-height:32px;padding:0;border:1px solid #ffffff26;background:#17171b80;box-shadow:0 1px 3px #00000014;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font-size:11px;letter-spacing:0}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-tools .reel-icon{width:16px;height:16px}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed]>.product-card .card-info{position:relative;inset:auto;grid-column:1;grid-row:2;align-self:end;margin:0 10px 9px;z-index:4}
}
@media(max-width:380px){
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed]>.product-card .card-info{left:14px;right:72px;column-gap:10px!important}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed]>.product-card h3{font-size:22px!important}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .card-info .price-line{font-size:20px!important}
 body.theme-flow.store-page:not(.view-grid) .flow-main>[data-flow-feed] .buy-button{padding:10px 8px!important;gap:6px;font-size:12px}
}
@media(max-width:350px){
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed]>.product-card .card-info{margin-left:6px;margin-right:6px}
 body.theme-flow.store-page.view-grid .flow-main>[data-flow-feed] .video-tools{right:6px}
}
