.desktop-nav{display:none}

@media (min-width:700px) and (max-width:999px){
  body{padding:24px}
  .app-shell{max-width:760px;min-height:calc(100vh - 48px);max-height:none;border-radius:20px}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .product-card:nth-child(even){border-right:1px solid var(--line)}
  .product-card:nth-child(3n){border-right:0}
  .bottom-nav,.buy-bar{bottom:24px;max-width:760px}
  .bottom-nav{border-radius:0 0 20px 20px}
}

@media (min-width:1000px){
  body{padding:0;background:#eeede8}
  .app-shell{max-width:1440px;min-height:100vh;max-height:none;padding-bottom:0;border-radius:0;background:var(--paper);box-shadow:none;overflow:visible}
  .topbar{height:88px;padding:0 48px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto 1fr}
  .brand{justify-self:start}
  .desktop-nav{display:flex;align-self:stretch;gap:38px}
  .desktop-nav button{position:relative;border:0;background:none;padding:0 2px;text-transform:uppercase;font:600 10px "Space Grotesk";letter-spacing:.16em;color:#85847e;cursor:pointer}
  .desktop-nav button.active{color:var(--ink)}
  .desktop-nav button.active::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}
  .desktop-nav i{display:none;position:absolute;top:22px;right:-12px;width:15px;height:15px;border-radius:50%;background:var(--accent);color:#111;font:600 8px/15px sans-serif;text-align:center}
  .desktop-nav i.visible{display:block}
  .header-actions{justify-self:end}
  .catalog-heading{padding:58px 48px 40px}
  .catalog-heading h1,.empty-view h1{font-size:58px}
  .catalog-heading>span{font-size:11px}
  .search-wrap,.filter-row{padding-left:48px;padding-right:48px}
  .filter-row{display:flex;padding-bottom:24px}
  .product-grid{grid-template-columns:repeat(4,1fr)}
  .product-card,.product-card:nth-child(even){border-right:1px solid var(--line)}
  .product-card:nth-child(4n){border-right:0}
  .product-image{height:310px}
  .product-info{padding:18px 20px 22px;min-height:120px}
  .product-name{font-size:15px;max-width:130px}
  .bottom-nav{display:none}
  .empty-view{padding:58px 48px}
  .empty-view .product-grid{margin:38px -48px 0}
  .detail-view.active{display:grid;grid-template-columns:minmax(520px,1.25fr) minmax(380px,.75fr);grid-template-rows:auto 96px;min-height:calc(100vh - 88px);padding:0}
  .detail-tools{position:fixed;top:112px;left:max(24px,calc((100vw - 1440px)/2 + 24px));right:auto;width:calc(min(100vw,1440px)*.625 - 48px)}
  .detail-image-wrap{height:auto;min-height:calc(100vh - 184px);grid-column:1;grid-row:1}
  .detail-image-wrap img{width:65%;height:78%}
  .thumb-row{grid-column:1;grid-row:2;height:96px}
  .thumb{width:96px}
  .detail-copy{grid-column:2;grid-row:1 / span 2;align-content:center;padding:64px 70px;border-left:1px solid var(--line);grid-template-columns:1fr auto}
  .detail-copy h2{font-size:54px}
  .description{font-size:14px;max-width:420px}
  .rating{margin-top:22px}
  .buy-bar{position:fixed;right:max(0px,calc((100vw - 1440px)/2));bottom:0;width:min(37.5vw,540px);max-width:540px;height:88px;padding:14px 22px 14px 30px}
  .buy-bar button{height:58px;padding:0 28px}
  .toast{bottom:30px}
}

@media (min-width:1400px){.product-image{height:360px}}
