/* Shorts-only controls reuse the shared navigation, actions and theme. */
.public-shop .shorts-layout-button{display:grid;place-items:center;flex-shrink:0;width:44px;min-height:44px;padding:6px;border:1px solid var(--shorts-line);border-radius:12px;background:var(--shop-surface-soft);color:var(--shorts-accent)}
.public-shop .shorts-layout-button .shop-icon{width:24px;height:24px}
.public-shop .shorts-layout-button[hidden],.public-shop .shorts-details-resize[hidden],.public-shop .shorts-header-more[hidden],.public-shop .shorts-header-tools[hidden]{display:none}
html.shorts-open[data-shorts-rail-collapsed] .public-shop{--shorts-rail-width:80px}
html.shorts-open[data-shorts-rail-collapsed] .public-shop .shop-sidebar{padding-inline:6px}
html.shorts-open[data-shorts-rail-collapsed] .public-shop .shop-nav-link{justify-content:center;min-height:48px;padding-inline:8px}
html.shorts-open[data-shorts-rail-collapsed] .public-shop .shop-nav-link>span:not(.shop-icon){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
html.shorts-open[data-shorts-rail-collapsed] .public-shop .shop-sidebar :is(hr,.shop-nav-caption,.shop-sidebar-note){display:none}
.public-shop .shorts-details-resize{position:absolute;z-index:6;top:var(--shorts-toolbar-height);bottom:0;right:calc(var(--shorts-details-width) - 6px);width:12px;cursor:col-resize;touch-action:none;display:grid;place-items:center;outline-offset:-3px}
.public-shop .shorts-details-resize::after{content:'';height:64px;width:4px;border-radius:4px;background:var(--shorts-line)}
.public-shop .shorts-details-resize:is(:hover,:focus-visible)::after{background:var(--shorts-accent)}
.public-shop .shorts-details-resize:focus-visible{outline:3px solid var(--shorts-accent)}
.public-shop .shorts-header-more{display:grid;place-items:center;width:44px;min-height:44px;padding:0;border:0;border-radius:14px;background:var(--app-soft,var(--shop-soft));color:var(--app-accent,var(--shop-accent))}
.public-shop .shorts-header-tools{position:fixed;z-index:60;top:var(--shop-header-height);right:8px;left:8px;max-height:calc(100dvh - var(--shop-header-height) - var(--shop-app-nav-height,0px));box-sizing:border-box;overflow:auto;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-end;gap:12px;padding:16px;border:1px solid var(--app-line,var(--line));border-radius:16px;background:var(--shop-surface);box-shadow:0 12px 36px #12376a26}
.public-shop .shorts-header-tools .ui-language{min-width:0;max-width:100%}
.public-shop .shorts-header-tools .ui-language-menu{position:static;max-width:100%;margin-top:8px;box-shadow:none}
.public-shop .shorts-header-tools :is(.shop-upload-trigger,.shop-notification-button){min-width:44px;min-height:44px}
@media(max-width:600px),(max-width:959px) and (max-height:500px){
 html.shorts-open[data-shorts-header-tools] .public-shop .site-header .header-inner{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;gap:4px;padding:8px;min-height:60px}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-inner>.menu-icon{grid-column:1;grid-row:1;width:44px;height:44px}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-inner>.brand{grid-column:2;grid-row:1;max-width:none;width:100%;margin:0;min-width:0}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-inner>.brand strong{position:static;clip:auto;clip-path:none;width:auto;height:auto;margin:0;padding:0;overflow:visible;white-space:nowrap;flex-shrink:0}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-inner>.brand img{flex-shrink:0}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-actions{display:contents}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-actions>.login{grid-column:3;grid-row:1;width:44px;height:44px;min-width:44px}
 html.shorts-open[data-shorts-header-tools] .public-shop .header-inner>.shorts-header-more{grid-column:4;grid-row:1}
 html.shorts-open[data-shorts-header-wide] .public-shop .header-inner>.brand{grid-column:1/-1;grid-row:1;justify-content:center}
 html.shorts-open[data-shorts-header-wide] .public-shop .header-inner>:is(.menu-icon,.shorts-header-more),html.shorts-open[data-shorts-header-wide] .public-shop .header-actions>.login{grid-row:2}
 .public-shop .shorts-rail-toggle,.public-shop .shorts-details-reset{display:none}
}
